dist-docs: Make GNU make aware of sub-make.
[cascardo/ovs.git] / Makefile.am
index 4ca5e9c..75ccadf 100644 (file)
@@ -408,7 +408,7 @@ if LINUX_ENABLED
 endif
 
 dist-docs:
-       VERSION=$(VERSION) $(srcdir)/build-aux/dist-docs $(srcdir) $(docs)
+       VERSION=$(VERSION) MAKE='$(MAKE)' $(srcdir)/build-aux/dist-docs $(srcdir) $(docs)
 .PHONY: dist-docs
 
 include Documentation/automake.mk