Mercurial > emacs
changeset 1767:6e2fb470af5f
Define MAKE, and use where appropriate.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 13 Jan 1993 22:20:28 +0000 |
parents | be62942446f0 |
children | b17b090655c3 |
files | Makefile.in |
diffstat | 1 files changed, 13 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile.in Wed Jan 13 05:17:34 1993 +0000 +++ b/Makefile.in Wed Jan 13 22:20:28 1993 +0000 @@ -36,6 +36,7 @@ # Still more severe - delete backup and autosave files, too. SHELL = /bin/sh +MAKE = make # BSD doesn't have it as a default. # ==================== Things `configure' Might Edit ==================== @@ -201,7 +202,7 @@ .RECURSIVE: ${SUBDIR} ${SUBDIR}: ${SUBDIR_MAKEFILES} FRC - cd $@; make all ${MFLAGS} \ + cd $@; $(MAKE) all ${MFLAGS} \ CC='${CC}' CFLAGS='${CFLAGS}' \ srcdir='${srcdir}/$@' libdir='${libdir}' @@ -265,7 +266,7 @@ ## If we let lib-src do its own installation, that means we ## don't have to duplicate the list of utilities to install in ## this Makefile as well. - (cd lib-src; make install ${MFLAGS} bindir=${bindir} libdir=${libdir}) + (cd lib-src; $(MAKE) install ${MFLAGS} bindir=${bindir} libdir=${libdir}) -set ${COPYDESTS} ; \ for dir in ${COPYDIR} ; do \ dest=$$1 ; shift ; \ @@ -300,7 +301,7 @@ ## If we let lib-src do its own installation, that means we ## don't have to duplicate the list of utilities to install in ## this Makefile as well. - (cd lib-src; make install ${MFLAGS} bindir=${bindir} libdir=${libdir}) + (cd lib-src; $(MAKE) install ${MFLAGS} bindir=${bindir} libdir=${libdir}) -set ${COPYDESTS} ; \ for dir in ${COPYDIR} ; do \ dest=$$1 ; shift ; \ @@ -333,7 +334,7 @@ ## If we let lib-src do its own installation, that means we ## don't have to duplicate the list of utilities to install in ## this Makefile as well. - (cd lib-src; make install ${MFLAGS} bindir=${bindir} libdir=${libdir}) + (cd lib-src; $(MAKE) install ${MFLAGS} bindir=${bindir} libdir=${libdir}) -set ${COPYDESTS} ; \ for dir in ${COPYDIR} ; do \ dest=$$1 ; shift ; \ @@ -371,7 +372,7 @@ ## If we let lib-src do its own installation, that means we ## don't have to duplicate the list of utilities to install in ## this Makefile as well. - (cd lib-src; make install ${MFLAGS} bindir=${bindir} libdir=${libdir}) + (cd lib-src; $(MAKE) install ${MFLAGS} bindir=${bindir} libdir=${libdir}) -set ${COPYDESTS} ; \ for dir in ${COPYDIR} ; do \ dest=$$1 ; shift ; \ @@ -427,11 +428,11 @@ ### recompiling it is rarely necessary and takes a lot of time. ### clean mostlyclean: - cd src; make clean - cd lib-src; make clean - cd oldXMenu; make clean + cd src; $(MAKE) clean + cd lib-src; $(MAKE) clean + cd oldXMenu; $(MAKE) clean if [ `(cd ${etcdir} ; /bin/pwd` != `(cd etc; /bin/pwd)` ] ; then \ - cd etc; make clean; \ + cd etc; $(MAKE) clean; \ else true; \ fi @@ -440,7 +441,7 @@ ### configuring or building the program. This should leave only the ### files that would be in the distribution. distclean: - for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} distclean); done + for i in ${SUBDIR}; do (cd $$i; $(MAKE) ${MFLAGS} distclean); done -(cd lock; rm *) -rm config.status config-tmp-* @@ -450,7 +451,7 @@ ### everything deleted by distclean, plus more: C source files ### produced by Bison, tags tables, info files, and so on. realclean: - for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} realclean); done + for i in ${SUBDIR}; do (cd $$i; $(MAKE) ${MFLAGS} realclean); done (cd lock; rm *) rm config.status @@ -459,7 +460,7 @@ ### the coding standards seem to come from. It's like distclean, but ### it deletes backup and autosave files too. extraclean: - for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} extraclean); done + for i in ${SUBDIR}; do (cd $$i; $(MAKE) ${MFLAGS} extraclean); done -(cd lock; rm *) -rm config.status config-tmp-* -rm -f *~ \#*