shithub: opus

Download patch

ref: b371cf8438203fd09a32cc1a6963542e344a6f8e
parent: 3aa264732ce0e5200e5d931e88221d22270f2b00
author: Ron <[email protected]>
date: Thu Oct 18 10:05:55 EDT 2012

cd doc && make is not the same as make -C doc

Fixes a regression in the recursive builds introduced in 5467ce7b3f8
that causes `make check-opus` to fail horribly.

Signed-off-by: Jean-Marc Valin <[email protected]>

--- a/Makefile.am
+++ b/Makefile.am
@@ -127,24 +127,24 @@
 
 # Or just the docs
 docs:
-	cd doc && $(MAKE) $(AM_MAKEFLAGS)
+	( cd doc && $(MAKE) $(AM_MAKEFLAGS) )
 
 install-docs:
-	cd doc && $(MAKE) $(AM_MAKEFLAGS) install
+	( cd doc && $(MAKE) $(AM_MAKEFLAGS) install )
 
 
 # Or everything (by default)
 all-local:
-	@[ -n "$(NO_DOXYGEN)" ] || cd doc && $(MAKE) $(AM_MAKEFLAGS)
+	@[ -n "$(NO_DOXYGEN)" ] || ( cd doc && $(MAKE) $(AM_MAKEFLAGS) )
 
 install-data-local:
-	@[ -n "$(NO_DOXYGEN)" ] || cd doc && $(MAKE) $(AM_MAKEFLAGS) install
+	@[ -n "$(NO_DOXYGEN)" ] || ( cd doc && $(MAKE) $(AM_MAKEFLAGS) install )
 
 clean-local:
-	-cd doc && $(MAKE) $(AM_MAKEFLAGS) clean
+	-( cd doc && $(MAKE) $(AM_MAKEFLAGS) clean )
 
 uninstall-local:
-	cd doc && $(MAKE) $(AM_MAKEFLAGS) uninstall
+	( cd doc && $(MAKE) $(AM_MAKEFLAGS) uninstall )
 
 
 .PHONY: opus check-opus install-opus docs install-docs