Skip to content
Snippets Groups Projects
Commit 5467ce7b authored by Gregory Maxwell's avatar Gregory Maxwell
Browse files

Avoid using make -C, a gnuism, in Makefile.am.

Instead use cd inside the makefiles.
This fixes 'make check', etc. with some non-gnu makes. (HPUX, for example)
parent 5ae062a7
No related branches found
No related tags found
No related merge requests found
......@@ -122,24 +122,24 @@ install-opus: install
# Or just the docs
docs:
$(MAKE) $(AM_MAKEFLAGS) -C doc
cd doc && $(MAKE) $(AM_MAKEFLAGS)
install-docs:
$(MAKE) $(AM_MAKEFLAGS) -C doc install
cd doc && $(MAKE) $(AM_MAKEFLAGS) install
# Or everything (by default)
all-local:
@[ -n "$(NO_DOXYGEN)" ] || $(MAKE) $(AM_MAKEFLAGS) -C doc
@[ -n "$(NO_DOXYGEN)" ] || cd doc && $(MAKE) $(AM_MAKEFLAGS)
install-data-local:
@[ -n "$(NO_DOXYGEN)" ] || $(MAKE) $(AM_MAKEFLAGS) -C doc install
@[ -n "$(NO_DOXYGEN)" ] || cd doc && $(MAKE) $(AM_MAKEFLAGS) install
clean-local:
-$(MAKE) $(AM_MAKEFLAGS) -C doc clean
-cd doc && $(MAKE) $(AM_MAKEFLAGS) clean
uninstall-local:
$(MAKE) $(AM_MAKEFLAGS) -C doc uninstall
cd doc && $(MAKE) $(AM_MAKEFLAGS) uninstall
.PHONY: opus check-opus install-opus docs install-docs
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment