Mercurial > hg > xemacs-beta
diff lib-src/Makefile.in.in @ 3062:21d92abaac3a
[xemacs-hg @ 2005-11-13 10:39:28 by ben]
fix up clean targets to delete .elc's as necessary
dynodump/Makefile.in.in: Add targets distclean-noconfig, realclean-noconfig, extraclean-noconfig.
Do some refactoring for cleanliness.
Makefile.in.in: Add targets distclean-noconfig, realclean-noconfig, extraclean-noconfig.
*-noconfig targets are like the base targets they're based off of, but
don't delete Makefiles and certain other files needed to rebuild the
Makefiles as necessary. Refactor things to be more consistent.
Top-level `elcclean' is an alias for `realclean-noconfig' and is used
by target `beta'. `realclean-noconfig' (and, by extension, `realclean'
and `extraclean') remove the .elc files.
Makefile.in.in: Add targets distclean-noconfig, realclean-noconfig, extraclean-noconfig.
Do some refactoring for cleanliness.
Makefile.in.in: Add targets distclean-noconfig, realclean-noconfig, extraclean-noconfig.
Do some refactoring for cleanliness.
Makefile.in.in: Add targets distclean-noconfig, realclean-noconfig, extraclean-noconfig.
Do some refactoring for cleanliness.
Makefile.in.in: Add targets distclean-noconfig, realclean-noconfig, extraclean-noconfig.
Do some refactoring for cleanliness.
Makefile: Add targets distclean-noconfig, realclean-noconfig, extraclean-noconfig.
Do some refactoring for cleanliness.
common/Makefile.common: Add targets distclean-noconfig, realclean-noconfig, extraclean-noconfig.
Do some refactoring for cleanliness. Put in some magic cookies in
comments so this file gets read as a make file by XEmacs.
author | ben |
---|---|
date | Sun, 13 Nov 2005 10:39:41 +0000 |
parents | 6fa9919a9a0b |
children | 193188e494b2 |
line wrap: on
line diff
--- a/lib-src/Makefile.in.in Sun Nov 13 07:39:29 2005 +0000 +++ b/lib-src/Makefile.in.in Sun Nov 13 10:39:41 2005 +0000 @@ -1,6 +1,7 @@ ## Makefile for lib-src subdirectory in XEmacs. ## Copyright (C) 1985, 1987, 1988, 1993, 1994 Free Software Foundation, Inc. ## Copyright (C) 1996, 1997 Sun Microsystems, Inc. +## Copyright (C) 2005 Ben Wing. ## This file is part of XEmacs. @@ -270,15 +271,22 @@ cd ${archlibdir} && $(RM) ${PRIVATE_INSTALLABLES} .PHONY: mostlyclean clean distclean realclean extraclean +.PHONY: distclean-noconfig realclean-noconfig extraclean-noconfig mostlyclean: $(RM) *.o *.i core clean: mostlyclean $(RM) ${EXES} *.exe -distclean: clean - $(RM) DOC *.tab.c *.tab.h TAGS ellcc.h - $(RM) GNUmakefile Makefile Makefile.in blessmail config.values +distclean-noconfig: clean + $(RM) DOC *.tab.c *.tab.h TAGS ellcc.h blessmail config.values +## This is used in making a distribution. +## Do not use it on development directories! +distclean: distclean-noconfig + $(RM) GNUmakefile Makefile Makefile.in +realclean-noconfig: distclean-noconfig realclean: distclean -extraclean: distclean +extraclean-noconfig: realclean-noconfig + $(RM) *~ \#* +extraclean: realclean $(RM) *~ \#* ## Test the contents of the directory.