comparison Makefile.in @ 4693:2d15be4c46b5

(info, dvi, clean, mostlyclean, distclean, realclean, unlock, relock): Use `$(MAKE)' in place of plain `make'.
author Roland McGrath <roland@gnu.org>
date Fri, 10 Sep 1993 05:18:08 +0000
parents 521dc133f58b
children bbeec82f0416
comparison
equal deleted inserted replaced
4692:e58fefa3c3ab 4693:2d15be4c46b5
423 ### Like `clean', but may refrain from deleting a few files that people 423 ### Like `clean', but may refrain from deleting a few files that people
424 ### normally don't want to recompile. For example, the `mostlyclean' 424 ### normally don't want to recompile. For example, the `mostlyclean'
425 ### target for GCC does not delete `libgcc.a', because recompiling it 425 ### target for GCC does not delete `libgcc.a', because recompiling it
426 ### is rarely necessary and takes a lot of time. 426 ### is rarely necessary and takes a lot of time.
427 mostlyclean: FRC.mostlyclean 427 mostlyclean: FRC.mostlyclean
428 (cd src; make ${MFLAGS} mostlyclean) 428 (cd src; $(MAKE) ${MFLAGS} mostlyclean)
429 (cd oldXMenu; make ${MFLAGS} mostlyclean) 429 (cd oldXMenu; $(MAKE) ${MFLAGS} mostlyclean)
430 (cd lib-src; make ${MFLAGS} mostlyclean) 430 (cd lib-src; $(MAKE) ${MFLAGS} mostlyclean)
431 (cd man; make ${MFLAGS} mostlyclean) 431 (cd man; $(MAKE) ${MFLAGS} mostlyclean)
432 432
433 ### `clean' 433 ### `clean'
434 ### Delete all files from the current directory that are normally 434 ### Delete all files from the current directory that are normally
435 ### created by building the program. Don't delete the files that 435 ### created by building the program. Don't delete the files that
436 ### record the configuration. Also preserve files that could be made 436 ### record the configuration. Also preserve files that could be made
437 ### by building, but normally aren't because the distribution comes 437 ### by building, but normally aren't because the distribution comes
438 ### with them. 438 ### with them.
439 ### 439 ###
440 ### Delete `.dvi' files here if they are not part of the distribution. 440 ### Delete `.dvi' files here if they are not part of the distribution.
441 clean: FRC.clean 441 clean: FRC.clean
442 (cd src; make ${MFLAGS} clean) 442 (cd src; $(MAKE) ${MFLAGS} clean)
443 (cd oldXMenu; make ${MFLAGS} clean) 443 (cd oldXMenu; $(MAKE) ${MFLAGS} clean)
444 (cd lib-src; make ${MFLAGS} clean) 444 (cd lib-src; $(MAKE) ${MFLAGS} clean)
445 (cd man; make ${MFLAGS} clean) 445 (cd man; $(MAKE) ${MFLAGS} clean)
446 446
447 ### `distclean' 447 ### `distclean'
448 ### Delete all files from the current directory that are created by 448 ### Delete all files from the current directory that are created by
449 ### configuring or building the program. If you have unpacked the 449 ### configuring or building the program. If you have unpacked the
450 ### source and built the program without creating any other files, 450 ### source and built the program without creating any other files,
453 top_distclean=\ 453 top_distclean=\
454 rm -f config.status build-install ; \ 454 rm -f config.status build-install ; \
455 rm -f Makefile ${SUBDIR_MAKEFILES} ; \ 455 rm -f Makefile ${SUBDIR_MAKEFILES} ; \
456 (cd lock ; rm -f *) 456 (cd lock ; rm -f *)
457 distclean: FRC.distclean 457 distclean: FRC.distclean
458 (cd src; make ${MFLAGS} distclean) 458 (cd src; $(MAKE) ${MFLAGS} distclean)
459 (cd oldXMenu; make ${MFLAGS} distclean) 459 (cd oldXMenu; $(MAKE) ${MFLAGS} distclean)
460 (cd lib-src; make ${MFLAGS} distclean) 460 (cd lib-src; $(MAKE) ${MFLAGS} distclean)
461 (cd man; make ${MFLAGS} distclean) 461 (cd man; $(MAKE) ${MFLAGS} distclean)
462 ${top_distclean} 462 ${top_distclean}
463 463
464 464
465 ### `realclean' 465 ### `realclean'
466 ### Delete everything from the current directory that can be 466 ### Delete everything from the current directory that can be
472 ### `configure' even if `configure' can be remade using a rule in the 472 ### `configure' even if `configure' can be remade using a rule in the
473 ### Makefile. More generally, `make realclean' should not delete 473 ### Makefile. More generally, `make realclean' should not delete
474 ### anything that needs to exist in order to run `configure' and then 474 ### anything that needs to exist in order to run `configure' and then
475 ### begin to build the program. 475 ### begin to build the program.
476 realclean: FRC.realclean 476 realclean: FRC.realclean
477 (cd src; make ${MFLAGS} realclean) 477 (cd src; $(MAKE) ${MFLAGS} realclean)
478 (cd oldXMenu; make ${MFLAGS} realclean) 478 (cd oldXMenu; $(MAKE) ${MFLAGS} realclean)
479 (cd lib-src; make ${MFLAGS} realclean) 479 (cd lib-src; $(MAKE) ${MFLAGS} realclean)
480 (cd man; make ${MFLAGS} realclean) 480 (cd man; $(MAKE) ${MFLAGS} realclean)
481 ${top_distclean} 481 ${top_distclean}
482 482
483 ### This doesn't actually appear in the coding standards, but Karl 483 ### This doesn't actually appear in the coding standards, but Karl
484 ### says GCC supports it, and that's where the configuration part of 484 ### says GCC supports it, and that's where the configuration part of
485 ### the coding standards seem to come from. It's like distclean, but 485 ### the coding standards seem to come from. It's like distclean, but
504 README build-install.in configure make-dist move-if-change 504 README build-install.in configure make-dist move-if-change
505 505
506 unlock: 506 unlock:
507 chmod u+w $(SOURCES) cpp/* 507 chmod u+w $(SOURCES) cpp/*
508 -(cd elisp; chmod u+w Makefile README *.texi) 508 -(cd elisp; chmod u+w Makefile README *.texi)
509 (cd etc; make unlock) 509 (cd etc; $(MAKE) unlock)
510 (cd lib-src; make unlock) 510 (cd lib-src; $(MAKE) unlock)
511 (cd lisp; make unlock) 511 (cd lisp; $(MAKE) unlock)
512 (cd lisp/term; chmod u+w README *.el) 512 (cd lisp/term; chmod u+w README *.el)
513 (cd man; chmod u+w *texi* ChangeLog split-man) 513 (cd man; chmod u+w *texi* ChangeLog split-man)
514 (cd oldXMenu; chmod u+w *.[ch] Makefile README) 514 (cd oldXMenu; chmod u+w *.[ch] Makefile README)
515 (cd src; make unlock) 515 (cd src; $(MAKE) unlock)
516 516
517 relock: 517 relock:
518 chmod u-w $(SOURCES) cpp/* 518 chmod u-w $(SOURCES) cpp/*
519 -(cd elisp; chmod u-w Makefile README *.texi) 519 -(cd elisp; chmod u-w Makefile README *.texi)
520 (cd etc; make relock) 520 (cd etc; $(MAKE) relock)
521 (cd lib-src; make relock) 521 (cd lib-src; $(MAKE) relock)
522 (cd lisp; make relock) 522 (cd lisp; $(MAKE) relock)
523 (cd lisp/term; chmod u+w README *.el) 523 (cd lisp/term; chmod u+w README *.el)
524 (cd man; chmod u+w *texi* ChangeLog split-man) 524 (cd man; chmod u+w *texi* ChangeLog split-man)
525 (cd oldXMenu; chmod u+w *.[ch] Makefile README) 525 (cd oldXMenu; chmod u+w *.[ch] Makefile README)
526 (cd src; make relock) 526 (cd src; $(MAKE) relock)
527 527
528 TAGS tags: lib-src 528 TAGS tags: lib-src
529 (cd ${srcdir}/src; \ 529 (cd ${srcdir}/src; \
530 ../lib-src/etags *.[ch] ../lisp/*.el ../lisp/term/*.el) 530 ../lib-src/etags *.[ch] ../lisp/*.el ../lisp/term/*.el)
531 531
534 534
535 dist: 535 dist:
536 cd ${srcdir}; make-dist 536 cd ${srcdir}; make-dist
537 537
538 info: 538 info:
539 (cd ${srcdir}/man; make ${MFLAGS} info) 539 (cd ${srcdir}/man; $(MAKE) ${MFLAGS} info)
540 dvi: 540 dvi:
541 (cd ${srcdir}/man; make ${MFLAGS} dvi) 541 (cd ${srcdir}/man; $(MAKE) ${MFLAGS} dvi)