comparison Makefile.in @ 12375:832d77b36f9d

(mkdir): Use symbolic chmod. (SUBDIR_MAKEFILES): Add man/Makefile, so `make distclean' removes it. (top_distclean): Add config.log to the list of files to be removed.
author Richard M. Stallman <rms@gnu.org>
date Sat, 24 Jun 1995 18:43:39 +0000
parents d8c035332be8
children 998641b2f5d6
comparison
equal deleted inserted replaced
12374:5888dd3f1a72 12375:832d77b36f9d
184 # because the compiled lisp files are part of the distribution 184 # because the compiled lisp files are part of the distribution
185 # and you cannot remake them without installing Emacs first. 185 # and you cannot remake them without installing Emacs first.
186 SUBDIR = lib-src src 186 SUBDIR = lib-src src
187 187
188 # The makefiles of the directories in $SUBDIR. 188 # The makefiles of the directories in $SUBDIR.
189 SUBDIR_MAKEFILES = lib-src/Makefile src/Makefile oldXMenu/Makefile lwlib/Makefile 189 SUBDIR_MAKEFILES = lib-src/Makefile man/Makefile src/Makefile oldXMenu/Makefile lwlib/Makefile
190 190
191 # Subdirectories to install, and where they'll go. 191 # Subdirectories to install, and where they'll go.
192 # lib-src's makefile knows how to install it, so we don't do that here. 192 # lib-src's makefile knows how to install it, so we don't do that here.
193 # When installing the info files, we need to do special things to 193 # When installing the info files, we need to do special things to
194 # avoid nuking an existing dir file, so we don't do that here; 194 # avoid nuking an existing dir file, so we don't do that here;
364 ### instead of mkdir. Not all systems' mkdir programs have the `-p' flag. 364 ### instead of mkdir. Not all systems' mkdir programs have the `-p' flag.
365 mkdir: FRC 365 mkdir: FRC
366 $(srcdir)/mkinstalldirs ${COPYDESTS} ${lockdir} ${infodir} ${mandir} \ 366 $(srcdir)/mkinstalldirs ${COPYDESTS} ${lockdir} ${infodir} ${mandir} \
367 ${bindir} ${datadir} ${docdir} ${libexecdir} \ 367 ${bindir} ${datadir} ${docdir} ${libexecdir} \
368 `echo ${locallisppath} | sed 's/:/ /g'` 368 `echo ${locallisppath} | sed 's/:/ /g'`
369 -chmod 777 ${lockdir} 369 -chmod a+rwx ${lockdir}
370 370
371 ### Delete all the installed files that the `install' target would 371 ### Delete all the installed files that the `install' target would
372 ### create (but not the noninstalled files such as `make all' would 372 ### create (but not the noninstalled files such as `make all' would
373 ### create). 373 ### create).
374 ### 374 ###
434 ### configuring or building the program. If you have unpacked the 434 ### configuring or building the program. If you have unpacked the
435 ### source and built the program without creating any other files, 435 ### source and built the program without creating any other files,
436 ### `make distclean' should leave only the files that were in the 436 ### `make distclean' should leave only the files that were in the
437 ### distribution. 437 ### distribution.
438 top_distclean=\ 438 top_distclean=\
439 rm -f config.status config.cache ; \ 439 rm -f config.status config.cache config.log ; \
440 rm -f Makefile ${SUBDIR_MAKEFILES} ; \ 440 rm -f Makefile ${SUBDIR_MAKEFILES} ; \
441 (cd lock && rm -f *) 441 (cd lock && rm -f *)
442 distclean: FRC 442 distclean: FRC
443 (cd src; $(MAKE) $(MFLAGS) distclean) 443 (cd src; $(MAKE) $(MFLAGS) distclean)
444 (cd oldXMenu; $(MAKE) $(MFLAGS) distclean) 444 (cd oldXMenu; $(MAKE) $(MFLAGS) distclean)