add maintainer-clean Makefile targets

This commit is contained in:
Ian Lance Taylor 1995-09-20 17:24:12 +00:00
parent 0312401c7a
commit 582433a889
7 changed files with 33 additions and 7 deletions

View 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.

View 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

View 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.

View 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)

View 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

View 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*"

View 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.*