diff options
author | Gregory Maxwell <greg@xiph.org> | 2012-08-29 18:31:16 +0400 |
---|---|---|
committer | Gregory Maxwell <greg@xiph.org> | 2012-08-29 18:31:16 +0400 |
commit | 5467ce7b3f8465a714dd639b615c7eecef547b0e (patch) | |
tree | 336b82a3bb4cdb7d317a95968360c446425c51f0 /Makefile.am | |
parent | 5ae062a759593ef3459e009f4917e99e4b11b44e (diff) |
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)
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile.am b/Makefile.am index 16ac9e22..e9e63295 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 |