r3558@krups: intrigeri | 2005-11-15 14:44:17 +0100
authorintrigeri <intrigeri@boum.org>
Tue, 29 Nov 2005 10:09:16 +0000 (10:09 +0000)
committerintrigeri <intrigeri@boum.org>
Tue, 29 Nov 2005 10:09:16 +0000 (10:09 +0000)
 Autotools: when cleaning, delete generated files in lib dir.

lib/Makefile.am
lib/Makefile.in

index 2b0e93a052e00759dc3bde0e5ff578d7752042ab..2fcce96ac2902f21ceb2c4cfd2cbd66beddd57b7 100644 (file)
@@ -1,4 +1,5 @@
 EXTRALIBS = easydialog tools
+CLEANFILES = $(EXTRALIBS)
 dist_pkglib_DATA = $(EXTRALIBS)
 EXTRA_DIST = easydialog.in tools.in
 
index 67a1df5a64c433b7daa5bf96a797dd4d9d558866..8ce67a90926e69e7e1c81e7dcba8f940b3ad4dda 100644 (file)
@@ -112,6 +112,7 @@ sharedstatedir = @sharedstatedir@
 sysconfdir = @sysconfdir@
 target_alias = @target_alias@
 EXTRALIBS = easydialog tools
+CLEANFILES = $(EXTRALIBS)
 dist_pkglib_DATA = $(EXTRALIBS)
 EXTRA_DIST = easydialog.in tools.in
 edit = sed \
@@ -225,6 +226,7 @@ install-strip:
 mostlyclean-generic:
 
 clean-generic:
+       -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
 
 distclean-generic:
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)