OSDN Git Service

Improve handling of workspace clean-up requests.
authorKeith Marshall <keithmarshall@users.sourceforge.net>
Wed, 3 Jul 2013 13:06:04 +0000 (14:06 +0100)
committerKeith Marshall <keithmarshall@users.sourceforge.net>
Wed, 3 Jul 2013 13:06:04 +0000 (14:06 +0100)
ChangeLog
Makefile.in

index b16d134..7ef57ea 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
 2013-07-03  Keith Marshall  <keithmarshall@users.sourceforge.net>
 
+       Improve handling of workspace clean-up requests.
+
+       * Makefile.in (mostlyclean): New rule; it replaces...
+       (clean): ...original intent delegated to 'mostlyclean'; retained and
+       augmented to remove all content specified by 'mostlyclean', plus...
+       (version.c, verinfo.h): ...these additional generated files.
+       (distclean): Modified; 'version.c' now removed by 'clean'.
+
+2013-07-03  Keith Marshall  <keithmarshall@users.sourceforge.net>
+
        Correct an omission from the source code distribution.
 
        * Makefile.in (BUILD_AUX_FILES): Add makeopts.m4; this was omitted
index 28ad640..9abc7af 100644 (file)
@@ -530,11 +530,14 @@ readme.txt.in: README.in NEWS.in INSTALL.in
 
 # Workspace clean-up...
 #
-clean:
+mostlyclean:
        rm -f *.$(OBJEXT) *.d *.dll $(BIN_PROGRAMS) $(LIBEXEC_PROGRAMS)
 
+clean: mostlyclean
+       rm -f version.c verinfo.h
+
 distclean: clean
-       rm -f config.* version.c build.tag build.time
+       rm -f config.* build.tag build.time
 
 maintainer-clean: distclean
        rm -f README NEWS INSTALL readme.txt Makefile pkginfo.c