From: Paul Brossier Date: Wed, 1 Dec 2004 02:31:55 +0000 (+0000) Subject: updated clean rules X-Git-Tag: bzr2git~949 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b073447b9d4e5b415e4c84b4b19d41a5f98fbf12;p=aubio.git updated clean rules --- diff --git a/Makefile.am b/Makefile.am index c9e9e018..fc8781c6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,6 @@ SUBDIRS = src examples doc sounds swig python plugins EXTRA_DIST = bootstrap VERSION +DISTCLEANFILES = autom4te.cache docs: cd doc && make update-docs && cd .. @@ -24,5 +25,3 @@ uninstall-pkgconfig: install-data-hook: install-pkgconfig uninstall-hook: uninstall-pkgconfig -distclean: - rm -rf autom4te.cache diff --git a/Makefile.in b/Makefile.in index b1fbb72d..1b08cb69 100644 --- a/Makefile.in +++ b/Makefile.in @@ -153,6 +153,7 @@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ SUBDIRS = src examples doc sounds swig python plugins EXTRA_DIST = bootstrap VERSION +DISTCLEANFILES = autom4te.cache subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs @@ -478,6 +479,7 @@ clean-generic: distclean-generic: -rm -f $(CONFIG_CLEAN_FILES) + -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @@ -577,9 +579,6 @@ uninstall-pkgconfig: install-data-hook: install-pkgconfig uninstall-hook: uninstall-pkgconfig - -distclean: - rm -rf autom4te.cache # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff --git a/doc/Makefile.am b/doc/Makefile.am index d6270fc7..2efde6ea 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -45,4 +45,4 @@ man: clean: rm -rf devel user examples *.1 -distclean: clean +distclean-hook: clean diff --git a/doc/Makefile.in b/doc/Makefile.in index fb8ed248..4ddb4922 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -346,7 +346,7 @@ man: clean: rm -rf devel user examples *.1 -distclean: clean +distclean-hook: clean # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: