ref: b073447b9d4e5b415e4c84b4b19d41a5f98fbf12
parent: aa3c8b7a2384c5ed1db246d1a98b316c6e64b4fc
author: Paul Brossier <piem@altern.org>
date: Tue Nov 30 21:31:55 EST 2004
updated clean rules
--- 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 @@
install-data-hook: install-pkgconfig
uninstall-hook: uninstall-pkgconfig
-distclean:
- rm -rf autom4te.cache
--- a/Makefile.in
+++ b/Makefile.in
@@ -153,6 +153,7 @@
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 @@
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 @@
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:
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -45,4 +45,4 @@
clean:
rm -rf devel user examples *.1
-distclean: clean
+distclean-hook: clean
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -346,7 +346,7 @@
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: