Mercurial > hg > xemacs-beta
comparison Makefile.in.in @ 3083:193188e494b2
[xemacs-hg @ 2005-11-22 07:14:37 by ben]
fix problems building with CVS dirs
dynodump/Makefile.in.in: Ignore errors from rm during clean.
Makefile.in.in: Ignore errors from rm during clean, to prevent problems trying to
remove lock/CVS.
Makefile.in.in: Ignore errors from rm during clean.
Makefile.in.in: Ignore errors from rm during clean.
Makefile.in.in: Ignore errors from rm during clean.
Makefile.in.in: Ignore errors from rm during clean.
common/Makefile.common: Ignore errors from rm during clean.
author | ben |
---|---|
date | Tue, 22 Nov 2005 07:14:54 +0000 |
parents | 0f411920c8db |
children | 9a0af1444f54 |
comparison
equal
deleted
inserted
replaced
3082:990996ef092b | 3083:193188e494b2 |
---|---|
532 ## Like `clean', but may refrain from deleting a few files that people | 532 ## Like `clean', but may refrain from deleting a few files that people |
533 ## normally don't want to recompile. For example, the `mostlyclean' | 533 ## normally don't want to recompile. For example, the `mostlyclean' |
534 ## target for GCC does not delete `libgcc.a', because recompiling it | 534 ## target for GCC does not delete `libgcc.a', because recompiling it |
535 ## is rarely necessary and takes a lot of time. | 535 ## is rarely necessary and takes a lot of time. |
536 top-mostlyclean: FRC.mostlyclean | 536 top-mostlyclean: FRC.mostlyclean |
537 $(RM) core | 537 -$(RM) core |
538 | 538 |
539 mostlyclean: top-mostlyclean | 539 mostlyclean: top-mostlyclean |
540 for d in $(SUBDIR); do (cd ./$$d && $(MAKE) $(RECURSIVE_MAKE_ARGS) $@); done | 540 for d in $(SUBDIR); do (cd ./$$d && $(MAKE) $(RECURSIVE_MAKE_ARGS) $@); done |
541 | 541 |
542 ## `clean' | 542 ## `clean' |
550 | 550 |
551 ## Remove the generated load files here; they cause lots of problems | 551 ## Remove the generated load files here; they cause lots of problems |
552 ## when they don't work right. (beta can't depend on distclean, which | 552 ## when they don't work right. (beta can't depend on distclean, which |
553 ## removes necessary files generated by configure.) | 553 ## removes necessary files generated by configure.) |
554 top-clean: FRC.clean | 554 top-clean: FRC.clean |
555 $(RM) core lisp/auto-autoloads.el* lisp/custom-load.el* | 555 -$(RM) core lisp/auto-autoloads.el* lisp/custom-load.el* |
556 $(RM) lisp/mule/auto-autoloads.el* lisp/mule/custom-load.el* | 556 -$(RM) lisp/mule/auto-autoloads.el* lisp/mule/custom-load.el* |
557 $(RM) modules/auto-autoloads.el* modules/custom-load.el* | 557 -$(RM) modules/auto-autoloads.el* modules/custom-load.el* |
558 $(RM) etc/PROBLEMS | 558 -$(RM) etc/PROBLEMS |
559 | 559 |
560 clean: top-mostlyclean top-clean | 560 clean: top-mostlyclean top-clean |
561 for d in $(SUBDIR); do (cd ./$$d && $(MAKE) $(RECURSIVE_MAKE_ARGS) $@); done | 561 for d in $(SUBDIR); do (cd ./$$d && $(MAKE) $(RECURSIVE_MAKE_ARGS) $@); done |
562 | 562 |
563 ## `distclean-noconfig' | 563 ## `distclean-noconfig' |
564 ## Like `distclean' but don't delete files created by `configure'. | 564 ## Like `distclean' but don't delete files created by `configure'. |
565 top-distclean-noconfig: FRC.distclean-noconfig | 565 top-distclean-noconfig: FRC.distclean-noconfig |
566 $(RM) TAGS .sbinit lock/* lisp/finder-inf.el* | 566 -$(RM) TAGS .sbinit lock/* lisp/finder-inf.el* |
567 $(RM) -r site-packages xemacs-packages mule-packages site-lisp | 567 -$(RM) -r site-packages xemacs-packages mule-packages site-lisp |
568 | 568 |
569 distclean-noconfig: top-mostlyclean top-clean top-distclean-noconfig | 569 distclean-noconfig: top-mostlyclean top-clean top-distclean-noconfig |
570 for d in $(SUBDIR); do (cd ./$$d && $(MAKE) $(RECURSIVE_MAKE_ARGS) $@); done | 570 for d in $(SUBDIR); do (cd ./$$d && $(MAKE) $(RECURSIVE_MAKE_ARGS) $@); done |
571 | 571 |
572 ## `distclean' | 572 ## `distclean' |
574 ## configuring or building the program. If you have unpacked the | 574 ## configuring or building the program. If you have unpacked the |
575 ## source and built the program without creating any other files, | 575 ## source and built the program without creating any other files, |
576 ## `make distclean' should leave only the files that were in the | 576 ## `make distclean' should leave only the files that were in the |
577 ## distribution. | 577 ## distribution. |
578 top-distclean: FRC.distclean | 578 top-distclean: FRC.distclean |
579 $(RM) config.status config.log confdefs.h config-tmp-* build-install Installation | 579 -$(RM) config.status config.log confdefs.h config-tmp-* build-install Installation |
580 $(RM) GNUmakefile Makefile Makefile.in | 580 -$(RM) GNUmakefile Makefile Makefile.in |
581 $(RM) Installation.el Installation.elc | 581 -$(RM) Installation.el Installation.elc |
582 | 582 |
583 distclean: top-mostlyclean top-clean top-distclean-noconfig top-distclean | 583 distclean: top-mostlyclean top-clean top-distclean-noconfig top-distclean |
584 for d in $(SUBDIR); do (cd ./$$d && $(MAKE) $(RECURSIVE_MAKE_ARGS) $@); done | 584 for d in $(SUBDIR); do (cd ./$$d && $(MAKE) $(RECURSIVE_MAKE_ARGS) $@); done |
585 | 585 |
586 ## `realclean-noconfig' | 586 ## `realclean-noconfig' |
587 ## Delete everything that can be reconstructed by `make'. Don't delete | 587 ## Delete everything that can be reconstructed by `make'. Don't delete |
588 ## anything requiring reconfiguration. | 588 ## anything requiring reconfiguration. |
589 top-realclean-noconfig: FRC.realclean-noconfig | 589 top-realclean-noconfig: FRC.realclean-noconfig |
590 $(RM) *.elc lisp/*.elc lisp/mule/*.elc lisp/term/*.elc modules/*.elc | 590 -$(RM) *.elc lisp/*.elc lisp/mule/*.elc lisp/term/*.elc modules/*.elc |
591 | 591 |
592 realclean-noconfig: top-mostlyclean top-clean top-distclean-noconfig top-realclean-noconfig | 592 realclean-noconfig: top-mostlyclean top-clean top-distclean-noconfig top-realclean-noconfig |
593 for d in $(SUBDIR); do (cd ./$$d && $(MAKE) $(RECURSIVE_MAKE_ARGS) $@); done | 593 for d in $(SUBDIR); do (cd ./$$d && $(MAKE) $(RECURSIVE_MAKE_ARGS) $@); done |
594 | 594 |
595 top-realclean: FRC.realclean | 595 top-realclean: FRC.realclean |
611 for d in $(SUBDIR); do (cd ./$$d && $(MAKE) $(RECURSIVE_MAKE_ARGS) $@); done | 611 for d in $(SUBDIR); do (cd ./$$d && $(MAKE) $(RECURSIVE_MAKE_ARGS) $@); done |
612 | 612 |
613 ## `extraclean-noconfig' | 613 ## `extraclean-noconfig' |
614 ## Like `extraclean' but don't delete anything requiring reconfiguration. | 614 ## Like `extraclean' but don't delete anything requiring reconfiguration. |
615 top-extraclean-noconfig: FRC.extraclean-noconfig | 615 top-extraclean-noconfig: FRC.extraclean-noconfig |
616 $(RM) *~ \#* | 616 -$(RM) *~ \#* |
617 | 617 |
618 extraclean-noconfig: top-mostlyclean top-clean top-distclean-noconfig top-realclean-noconfig top-extraclean-noconfig | 618 extraclean-noconfig: top-mostlyclean top-clean top-distclean-noconfig top-realclean-noconfig top-extraclean-noconfig |
619 for d in $(SUBDIR); do (cd ./$$d && $(MAKE) $(RECURSIVE_MAKE_ARGS) $@); done | 619 for d in $(SUBDIR); do (cd ./$$d && $(MAKE) $(RECURSIVE_MAKE_ARGS) $@); done |
620 | 620 |
621 ## This doesn't actually appear in the coding standards, but Karl | 621 ## This doesn't actually appear in the coding standards, but Karl |
660 | 660 |
661 PRUNE_VC = -name SCCS -prune -o -name RCS -prune -o -name CVS -prune -o | 661 PRUNE_VC = -name SCCS -prune -o -name RCS -prune -o -name CVS -prune -o |
662 tagslisp = lisp | 662 tagslisp = lisp |
663 TAGS tags: FRC.tags | 663 TAGS tags: FRC.tags |
664 @echo "If you don't have a copy of etags around, then do 'make lib-src' first." | 664 @echo "If you don't have a copy of etags around, then do 'make lib-src' first." |
665 $(RM) ${srcdir}/TAGS | 665 -$(RM) ${srcdir}/TAGS |
666 @PATH=`$(pwd)`/lib-src:$$PATH HOME=/-=-; export PATH HOME; \ | 666 @PATH=`$(pwd)`/lib-src:$$PATH HOME=/-=-; export PATH HOME; \ |
667 echo "Using etags from `which etags`." | 667 echo "Using etags from `which etags`." |
668 PATH=`$(pwd)`/lib-src:$$PATH ; export PATH; cd ${srcdir} && \ | 668 PATH=`$(pwd)`/lib-src:$$PATH ; export PATH; cd ${srcdir} && \ |
669 find src lwlib lib-src modules ${PRUNE_VC} -name '*.[ch]' -print | \ | 669 find src lwlib lib-src modules ${PRUNE_VC} -name '*.[ch]' -print | \ |
670 xargs etags -a \ | 670 xargs etags -a \ |