# HG changeset patch # User John W. Eaton # Date 1235594063 18000 # Node ID e258715b2e78baf4f95cf3141f9202ad26f127d5 # Parent 0d7ebf353400f346d4d2ce6e6d36df52684f7f9d fixes for clean targets in Makefiles diff -r 0d7ebf353400 -r e258715b2e78 doc/ChangeLog --- a/doc/ChangeLog Wed Feb 25 13:01:35 2009 -0500 +++ b/doc/ChangeLog Wed Feb 25 15:34:23 2009 -0500 @@ -1,3 +1,13 @@ +2009-02-25 John W. Eaton + + * interpreter/Makefile.in (distclean): Remove tags and TAGS here + instead of in maintainer-clean target. + (maintainer-clean): Depend on distclean, not clean. Remove DOC. + (DISTFILES): Add stmp-html to the list. + + * Makefile.in: Remove conf.texi in maintainer-clean target but not + distclean target. + 2009-02-24 Jaroslav Hajek * interpreter/diagperm.txi: Remove redundant url references. diff -r 0d7ebf353400 -r e258715b2e78 doc/Makefile.in --- a/doc/Makefile.in Wed Feb 25 13:01:35 2009 -0500 +++ b/doc/Makefile.in Wed Feb 25 15:34:23 2009 -0500 @@ -67,11 +67,11 @@ TAGS:: $(SOURCES) etags $(SOURCES) -distclean:: - rm -f Makefile +distclean maintainer-clean:: + rm -f tags TAGS Makefile maintainer-clean:: - rm -f tags TAGS Makefile + rm -f conf.texi dist: conf.texi ln $(DISTFILES) ../`cat ../.fname`/doc diff -r 0d7ebf353400 -r e258715b2e78 doc/interpreter/Makefile.in --- a/doc/interpreter/Makefile.in Wed Feb 25 13:01:35 2009 -0500 +++ b/doc/interpreter/Makefile.in Wed Feb 25 15:34:23 2009 -0500 @@ -150,7 +150,7 @@ DISTFILES = $(addprefix $(srcdir)/, Makefile.in contributors.in \ mkcontrib.awk dir munge-texi.cc $(MAN_SRC) $(SOURCES) $(MAIN_TEXINFO)) \ $(SUB_TEXINFO) contributors.texi $(FORMATTED) $(IMAGES) mk_doc_cache.m \ - DOC + DOC stmp-html DISTDIRS = HTML @@ -372,11 +372,11 @@ distclean: clean @$(subdir-for-command) - rm -f Makefile + rm -f tags TAGS Makefile .PHONY: distclean -maintainer-clean: clean clean-texi - rm -f Makefile tags TAGS $(FORMATTED) $(IMAGES) +maintainer-clean: distclean clean-texi + rm -f DOC stmp-html $(FORMATTED) $(IMAGES) rm -rf HTML .PHONY: maintainer-clean diff -r 0d7ebf353400 -r e258715b2e78 libcruft/ChangeLog --- a/libcruft/ChangeLog Wed Feb 25 13:01:35 2009 -0500 +++ b/libcruft/ChangeLog Wed Feb 25 15:34:23 2009 -0500 @@ -1,3 +1,9 @@ +2009-02-25 John W. Eaton + + * Makefile.in (maintainer-clean): Also remove libraries. + + * Makerules.in: Make maintainer-clean and distclean the same. + 2009-02-23 Jaroslav Hajek * misc/quit.h (octave_signal_caught): Declare as volatile. diff -r 0d7ebf353400 -r e258715b2e78 libcruft/Makefile.in --- a/libcruft/Makefile.in Wed Feb 25 13:01:35 2009 -0500 +++ b/libcruft/Makefile.in Wed Feb 25 15:34:23 2009 -0500 @@ -186,7 +186,7 @@ TAGS:: $(SOURCES) etags $(SOURCES) -clean mostlyclean distclean:: +clean mostlyclean distclean maintainer-clean:: rm -f $(LIBPRE)cruft.$(LIBEXT) rm -f $(SHLLIBPRE)cruft.$(SHLEXT_VER) $(SHLLIBPRE)cruft.$(SHLEXT) rm -f $(SHLBINPRE)cruft.$(SHLBIN_VER) $(SHLBINPRE)cruft.$(SHLBIN) diff -r 0d7ebf353400 -r e258715b2e78 libcruft/Makerules.in --- a/libcruft/Makerules.in Wed Feb 25 13:01:35 2009 -0500 +++ b/libcruft/Makerules.in Wed Feb 25 15:34:23 2009 -0500 @@ -137,12 +137,8 @@ .PHONY: clean mostlyclean distclean maintainer-clean:: - rm -f Makefile -.PHONY: distclean - -maintainer-clean:: - rm -f tags TAGS -.PHONY: maintainer-clean + rm -f tags TAGS Makefile +.PHONY: distclean maintainer-clean dist: ln $(EXTERNAL_DISTFILES) ../../`cat ../../.fname`/libcruft/$(THISDIR) diff -r 0d7ebf353400 -r e258715b2e78 liboctave/ChangeLog --- a/liboctave/ChangeLog Wed Feb 25 13:01:35 2009 -0500 +++ b/liboctave/ChangeLog Wed Feb 25 15:34:23 2009 -0500 @@ -1,3 +1,7 @@ +2009-02-25 John W. Eaton + + * Makefile.in: Make maintainer-clean and distclean the same. + 2009-02-25 Jaroslav Hajek * oct-inttypes.cc (pow (const octave_int&, const octave_int&)): diff -r 0d7ebf353400 -r e258715b2e78 liboctave/Makefile.in --- a/liboctave/Makefile.in Wed Feb 25 13:01:35 2009 -0500 +++ b/liboctave/Makefile.in Wed Feb 25 15:34:23 2009 -0500 @@ -356,13 +356,10 @@ mostlyclean: clean .PHONY: mostlyclean -distclean: clean +distclean maintainer-clean: clean + rm -f tags TAGS rm -f Makefile so_locations oct-types.h $(PREREQ) -.PHONY: distclean - -maintainer-clean: distclean - rm -f tags TAGS -.PHONY: maintainer-clean +.PHONY: distclean maintainer-clean dist: $(PREREQ) ln $(DISTFILES) ../`cat ../.fname`/liboctave diff -r 0d7ebf353400 -r e258715b2e78 scripts/ChangeLog --- a/scripts/ChangeLog Wed Feb 25 13:01:35 2009 -0500 +++ b/scripts/ChangeLog Wed Feb 25 15:34:23 2009 -0500 @@ -1,3 +1,8 @@ +2009-02-25 John W. Eaton + + * Makefile.in (distclean maintainer-clean): Remove tags and TAGS + in distclean target. + 2009-02-25 Jaroslav Hajek * help/lookfor.m: Vectorize the path splitting using mat2cell. diff -r 0d7ebf353400 -r e258715b2e78 scripts/Makefile.in --- a/scripts/Makefile.in Wed Feb 25 13:01:35 2009 -0500 +++ b/scripts/Makefile.in Wed Feb 25 15:34:23 2009 -0500 @@ -99,11 +99,11 @@ rm -f gethelp$(BUILD_EXEEXT) distclean maintainer-clean:: - rm -f Makefile config.log config.status DOCSTRINGS + rm -f tags TAGS Makefile config.log config.status DOCSTRINGS rm -rf autom4te.cache maintainer-clean:: - rm -f tags TAGS configure + rm -f configure dist: ln $(DISTFILES) ../`cat ../.fname`/scripts diff -r 0d7ebf353400 -r e258715b2e78 src/ChangeLog --- a/src/ChangeLog Wed Feb 25 13:01:35 2009 -0500 +++ b/src/ChangeLog Wed Feb 25 15:34:23 2009 -0500 @@ -1,5 +1,9 @@ 2009-02-25 John W. Eaton + * Makefile.in (distclean): Remove tags TAGS y.tab.h y.output + yy.lex.c here, not in maintainer-clean target. Also remove + parse.output. + * DLD-FUNCTIONS/rand.cc: Note that the tests for the old random number generator will fail if using 64-bit indexing. diff -r 0d7ebf353400 -r e258715b2e78 src/Makefile.in --- a/src/Makefile.in Wed Feb 25 13:01:35 2009 -0500 +++ b/src/Makefile.in Wed Feb 25 15:34:23 2009 -0500 @@ -562,12 +562,13 @@ distclean: clean rm -f Makefile octave$(EXEEXT) .fname so_locations oct-errno.cc + rm -f tags TAGS y.tab.h y.output yy.lex.c parse.output rm -f stamp-liboctave-prereq rm -f doc-files gendoc.cc graphics.h graphics-props.cc mxarray.h DOCSTRINGS .PHONY: distclean maintainer-clean: distclean - rm -f tags TAGS y.tab.h y.output yy.lex.c lex.cc parse.cc + rm -f lex.cc parse.cc rm -f oct-gperf.h $(OPT_HANDLERS) .PHONY: maintainer-clean