add maintainer-clean Makefile targets
authorIan Lance Taylor <ian@airs.com>
Wed, 20 Sep 1995 17:24:12 +0000 (17:24 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 20 Sep 1995 17:24:12 +0000 (17:24 +0000)
gdb/ChangeLog
gdb/Makefile.in
gdb/doc/ChangeLog
gdb/doc/Makefile.in
gdb/nlm/Makefile.in
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.chill/Makefile.in

index ee1a4e704841d257ac5f083b9c4a3f2c3fc11cf0..7b87330bf04b0740f6352b1793e266a0fba2763a 100644 (file)
@@ -1,3 +1,11 @@
+Wed Sep 20 13:12:56 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in (maintainer-clean): New target, synonym for
+       realclean.  Add GNU standard maintainer-clean echos.
+       * gdbserver/Makefile.in (maintainer-clean): New target, synonym
+       for realclean.
+       * nlm/Makefile.in (maintainer-clean): Likewise.
+
 Wed Sep 20 08:16:03 1995  steve chamberlain  <sac@slash.cygnus.com>
 
        * defs.h (xmalloc, xrealloc): Delete, they're declared in libiberty.h.
index a38bb9bd2bdf613f56124306fed8a40e69f38967..1b8c241ff9d3aae423ce7dcdc36f3c6bfa7faac8 100644 (file)
@@ -527,7 +527,7 @@ gdb.z:gdb.1
 install: all install-only
 install-only:
        transformed_name=`t='$(program_transform_name)'; \
-                         echo gdb | sed -e "s/brokensed/brokensed/" $$t` ; \
+                         echo gdb | sed -e $$t` ; \
                if test "x$$transformed_name" = x; then \
                  transformed_name=gdb ; \
                else \
@@ -546,7 +546,7 @@ install-only:
 
 uninstall: force
        transformed_name=`t='$(program_transform_name)'; \
-                         echo gdb | sed -e "s/brokensed/brokensed/" $$t` ; \
+                         echo gdb | sed -e $$t` ; \
                if test "x$$transformed_name" = x; then \
                  transformed_name=gdb ; \
                else \
@@ -732,8 +732,10 @@ distclean: clean
        rm -f config.log config.cache
        rm -f Makefile
 
-realclean: clean
-       @$(MAKE) $(FLAGS_TO_PASS) DO=realclean "DODIRS=$(SUBDIRS)" subdir_do
+maintainer-clean realclean: clean
+       @echo "This command is intended for maintainers to use;"
+       @echo "it deletes files that may require special tools to rebuild."
+       @$(MAKE) $(FLAGS_TO_PASS) DO=maintainer-clean "DODIRS=$(SUBDIRS)" subdir_do
        rm -f c-exp.tab.c f-exp.tab.c m2-exp.tab.c ch-exp.tab.c
        rm -f TAGS $(INFOFILES)
        rm -f nm.h tm.h xm.h config.status
index 3b10ecd51efdcf10a828261137f6982176170946..b128a36938af646ea9beee7826bb7d27d6f6a120 100644 (file)
@@ -1,3 +1,8 @@
+Wed Sep 20 13:14:10 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in (maintainer-clean): New target, synonym for
+       realclean.
+
 Thu Aug  3 10:45:37 1995  Fred Fish  <fnf@cygnus.com>
 
        * Update all FSF addresses except those in COPYING* files.
index 6f5b424f6903da4cf95f6a6476995faeae08616d..efafb53700dc694d7b87609ab60c505b3ea51b77 100644 (file)
@@ -148,7 +148,7 @@ distclean: clean
 
 # GDBvn.texi and refcard.dvi are distributed, so they should not be
 # removed by "clean" or "distclean".
-realclean: distclean clean-dvi clean-info
+maintainer-clean realclean: distclean clean-dvi clean-info
        rm -f GDBvn.texi refcard.dvi
 
 # GDB QUICK REFERENCE (dvi output)
index 46afbf2393888237af09580c2fd88ad8914dda7c..c17bcffb258f9a4f8fb7f46865ee4340bd6f252b 100644 (file)
@@ -146,7 +146,7 @@ distclean: clean TAGS
        rm -f config.log config.cache config.status
        rm -f Makefile
 
-realclean: clean
+maintainer-clean realclean: clean
        rm -f TAGS
        rm -f config.log config.cache config.status
        rm -f Makefile
index 787e7bf4cef8668d4a57c9c90460888bb5a6da23..cc6b92096663e30daec6e8d56730177fe7657716 100644 (file)
@@ -1,3 +1,14 @@
+Wed Sep 20 13:15:05 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in (maintainer-clean): New target, synonym for
+       realclean.
+       * gdb.base/Makefile.in (maintainer-clean): Likewise.
+       * gdb.c++/Makefile.in (maintainer-clean): Likewise.
+       * gdb.chill/Makefile.in (maintainer-clean): Likewise.
+       * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
+       * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
+       * gdb.threads/Makefile.in (maintainer-clean): Likewise.
+
 Sun Sep 10 13:14:01 1995  Fred Fish  <fnf@cygnus.com>
 
        * gdb.base/scope.exp (text_at_main):  Add "hppa*-*-hpux*"
index 0c09c2747aad0754619d060178c7ff23e86dfe68..b99f2dc439da35b3b71b01c1def8b0f3b3e78b11 100644 (file)
@@ -176,7 +176,7 @@ just-check:
 clean mostlyclean:
        -rm -f *~ core *.o a.out xgdb *.x $(EXECUTABLES)
 
-distclean realclean: clean
+distclean maintainer-clean realclean: clean
        -rm -f *~ core *.log *.plog *.sum *.psum site.*
        -rm -f Makefile config.status *-init.exp
        -rm -fr *.log summary detail *.plog *.sum *.psum site.*