Mercurial > emacs
comparison Makefile.in @ 40887:fdd022babda5
(SUBDIR_MAKEFILES): Add lispref/Makefile.
(lispref/Makefile): New target.
(mostlyclean, clean, distclean, maintainer-clean, unlock, relock):
Add commands for the lispref directory.
(info, dvi): Ditto.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 10 Nov 2001 14:43:58 +0000 |
parents | c7844d807c6c |
children | 9dc5cb6c843d |
comparison
equal
deleted
inserted
replaced
40886:09d18d7e6e49 | 40887:fdd022babda5 |
---|---|
210 # and you cannot remake them without installing Emacs first. | 210 # and you cannot remake them without installing Emacs first. |
211 # leim is not included because it needs special handling. | 211 # leim is not included because it needs special handling. |
212 SUBDIR = lib-src src | 212 SUBDIR = lib-src src |
213 | 213 |
214 # The makefiles of the directories in $SUBDIR. | 214 # The makefiles of the directories in $SUBDIR. |
215 SUBDIR_MAKEFILES = lib-src/Makefile man/Makefile src/Makefile oldXMenu/Makefile lwlib/Makefile leim/Makefile | 215 SUBDIR_MAKEFILES = lib-src/Makefile man/Makefile lispref/Makefile src/Makefile oldXMenu/Makefile lwlib/Makefile leim/Makefile |
216 | 216 |
217 # Subdirectories to install, and where they'll go. | 217 # Subdirectories to install, and where they'll go. |
218 # lib-src's makefile knows how to install it, so we don't do that here. | 218 # lib-src's makefile knows how to install it, so we don't do that here. |
219 # leim's makefile also knows how to install it, so we don't do that here. | 219 # leim's makefile also knows how to install it, so we don't do that here. |
220 # When installing the info files, we need to do special things to | 220 # When installing the info files, we need to do special things to |
285 | 285 |
286 lib-src/Makefile: $(srcdir)/lib-src/Makefile.in config.status | 286 lib-src/Makefile: $(srcdir)/lib-src/Makefile.in config.status |
287 ./config.status | 287 ./config.status |
288 | 288 |
289 man/Makefile: $(srcdir)/man/Makefile.in config.status | 289 man/Makefile: $(srcdir)/man/Makefile.in config.status |
290 ./config.status | |
291 | |
292 lispref/Makefile: $(srcdir)/lispref/Makefile.in config.status | |
290 ./config.status | 293 ./config.status |
291 | 294 |
292 oldXMenu/Makefile: $(srcdir)/oldXMenu/Makefile.in config.status | 295 oldXMenu/Makefile: $(srcdir)/oldXMenu/Makefile.in config.status |
293 ./config.status | 296 ./config.status |
294 | 297 |
437 else true; fi | 440 else true; fi |
438 -unset CDPATH; \ | 441 -unset CDPATH; \ |
439 thisdir=`/bin/pwd`; \ | 442 thisdir=`/bin/pwd`; \ |
440 if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \ | 443 if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \ |
441 then \ | 444 then \ |
442 for f in ada-mode autotype ccmode cl dired-x ebrowse ediff efaq emacs emacs-mime eshell eudc forms gnus idlwave info message mh-e pcl-cvs reftex sc speedbar vip viper widget woman; do \ | 445 for f in ada-mode autotype ccmode cl dired-x ebrowse ediff efaq elisp emacs emacs-mime eshell eudc forms gnus idlwave info message mh-e pcl-cvs reftex sc speedbar vip viper widget woman; do \ |
443 (cd $${thisdir}; \ | 446 (cd $${thisdir}; \ |
444 ${INSTALL_INFO} --info-dir=${infodir} ${infodir}/$$f); \ | 447 ${INSTALL_INFO} --info-dir=${infodir} ${infodir}/$$f); \ |
445 done; \ | 448 done; \ |
446 else true; fi | 449 else true; fi |
447 -chmod -R a+r ${datadir}/emacs ${COPYDESTS} ${infodir} | 450 -chmod -R a+r ${datadir}/emacs ${COPYDESTS} ${infodir} |
503 esac ; \ | 506 esac ; \ |
504 fi ; \ | 507 fi ; \ |
505 done | 508 done |
506 (cd ${archlibdir} && rm -f fns-*) | 509 (cd ${archlibdir} && rm -f fns-*) |
507 -rm -rf ${libexecdir}/emacs/${version} | 510 -rm -rf ${libexecdir}/emacs/${version} |
508 (cd ${infodir} && rm -f cl* ada-mode* autotype* ccmode* ebrowse* efaq* eshell* eudc* idlwave* message* pcl-cvs* reftex* speedbar* widget* woman* dired-x* ediff* emacs* forms* gnus* info* mh-e* sc* vip*) | 511 (cd ${infodir} && rm -f cl* ada-mode* autotype* ccmode* ebrowse* efaq* elisp* eshell* eudc* idlwave* message* pcl-cvs* reftex* speedbar* widget* woman* dired-x* ediff* emacs* forms* gnus* info* mh-e* sc* vip*) |
509 (cd ${man1dir} && rm -f emacs.1 etags.1 ctags.1) | 512 (cd ${man1dir} && rm -f emacs.1 etags.1 ctags.1) |
510 (cd ${bindir} && rm -f emacs-${version} $(EMACS)) | 513 (cd ${bindir} && rm -f emacs-${version} $(EMACS)) |
511 | 514 |
512 | 515 |
513 FRC: | 516 FRC: |
525 (cd src; $(MAKE) $(MFLAGS) mostlyclean) | 528 (cd src; $(MAKE) $(MFLAGS) mostlyclean) |
526 (cd oldXMenu; $(MAKE) $(MFLAGS) mostlyclean) | 529 (cd oldXMenu; $(MAKE) $(MFLAGS) mostlyclean) |
527 (cd lwlib; $(MAKE) $(MFLAGS) mostlyclean) | 530 (cd lwlib; $(MAKE) $(MFLAGS) mostlyclean) |
528 (cd lib-src; $(MAKE) $(MFLAGS) mostlyclean) | 531 (cd lib-src; $(MAKE) $(MFLAGS) mostlyclean) |
529 -(cd man && $(MAKE) $(MFLAGS) mostlyclean) | 532 -(cd man && $(MAKE) $(MFLAGS) mostlyclean) |
533 -(cd lispref && $(MAKE) $(MFLAGS) mostlyclean) | |
530 (cd leim; $(MAKE) $(MFLAGS) mostlyclean) | 534 (cd leim; $(MAKE) $(MFLAGS) mostlyclean) |
531 | 535 |
532 ### `clean' | 536 ### `clean' |
533 ### Delete all files from the current directory that are normally | 537 ### Delete all files from the current directory that are normally |
534 ### created by building the program. Don't delete the files that | 538 ### created by building the program. Don't delete the files that |
541 (cd src; $(MAKE) $(MFLAGS) clean) | 545 (cd src; $(MAKE) $(MFLAGS) clean) |
542 (cd oldXMenu; $(MAKE) $(MFLAGS) clean) | 546 (cd oldXMenu; $(MAKE) $(MFLAGS) clean) |
543 (cd lwlib; $(MAKE) $(MFLAGS) clean) | 547 (cd lwlib; $(MAKE) $(MFLAGS) clean) |
544 (cd lib-src; $(MAKE) $(MFLAGS) clean) | 548 (cd lib-src; $(MAKE) $(MFLAGS) clean) |
545 -(cd man && $(MAKE) $(MFLAGS) clean) | 549 -(cd man && $(MAKE) $(MFLAGS) clean) |
550 -(cd lispref && $(MAKE) $(MFLAGS) clean) | |
546 (cd leim; $(MAKE) $(MFLAGS) clean) | 551 (cd leim; $(MAKE) $(MFLAGS) clean) |
547 | 552 |
548 ### `distclean' | 553 ### `distclean' |
549 ### Delete all files from the current directory that are created by | 554 ### Delete all files from the current directory that are created by |
550 ### configuring or building the program. If you have unpacked the | 555 ### configuring or building the program. If you have unpacked the |
559 (cd src; $(MAKE) $(MFLAGS) distclean) | 564 (cd src; $(MAKE) $(MFLAGS) distclean) |
560 (cd oldXMenu; $(MAKE) $(MFLAGS) distclean) | 565 (cd oldXMenu; $(MAKE) $(MFLAGS) distclean) |
561 (cd lwlib; $(MAKE) $(MFLAGS) distclean) | 566 (cd lwlib; $(MAKE) $(MFLAGS) distclean) |
562 (cd lib-src; $(MAKE) $(MFLAGS) distclean) | 567 (cd lib-src; $(MAKE) $(MFLAGS) distclean) |
563 (cd man && $(MAKE) $(MFLAGS) distclean) | 568 (cd man && $(MAKE) $(MFLAGS) distclean) |
569 (cd lispref && $(MAKE) $(MFLAGS) distclean) | |
564 (cd leim; $(MAKE) $(MFLAGS) distclean) | 570 (cd leim; $(MAKE) $(MFLAGS) distclean) |
565 (cd lisp; $(MAKE) $(MFLAGS) distclean) | 571 (cd lisp; $(MAKE) $(MFLAGS) distclean) |
566 ${top_distclean} | 572 ${top_distclean} |
567 | 573 |
568 ### `maintainer-clean' | 574 ### `maintainer-clean' |
580 (cd src; $(MAKE) $(MFLAGS) maintainer-clean) | 586 (cd src; $(MAKE) $(MFLAGS) maintainer-clean) |
581 (cd oldXMenu; $(MAKE) $(MFLAGS) maintainer-clean) | 587 (cd oldXMenu; $(MAKE) $(MFLAGS) maintainer-clean) |
582 (cd lwlib; $(MAKE) $(MFLAGS) maintainer-clean) | 588 (cd lwlib; $(MAKE) $(MFLAGS) maintainer-clean) |
583 (cd lib-src; $(MAKE) $(MFLAGS) maintainer-clean) | 589 (cd lib-src; $(MAKE) $(MFLAGS) maintainer-clean) |
584 -(cd man && $(MAKE) $(MFLAGS) maintainer-clean) | 590 -(cd man && $(MAKE) $(MFLAGS) maintainer-clean) |
591 -(cd lispref && $(MAKE) $(MFLAGS) maintainer-clean) | |
585 (cd leim; $(MAKE) $(MFLAGS) maintainer-clean) | 592 (cd leim; $(MAKE) $(MFLAGS) maintainer-clean) |
586 ${top_distclean} | 593 ${top_distclean} |
587 | 594 |
588 ### This doesn't actually appear in the coding standards, but Karl | 595 ### This doesn't actually appear in the coding standards, but Karl |
589 ### says GCC supports it, and that's where the configuration part of | 596 ### says GCC supports it, and that's where the configuration part of |
616 (cd etc; $(MAKE) $(MFLAGS) unlock) | 623 (cd etc; $(MAKE) $(MFLAGS) unlock) |
617 (cd lib-src; $(MAKE) $(MFLAGS) unlock) | 624 (cd lib-src; $(MAKE) $(MFLAGS) unlock) |
618 (cd lisp; $(MAKE) $(MFLAGS) unlock) | 625 (cd lisp; $(MAKE) $(MFLAGS) unlock) |
619 (cd lisp/term; chmod u+w README *.el) | 626 (cd lisp/term; chmod u+w README *.el) |
620 (cd man; chmod u+w *texi* ChangeLog split-man) | 627 (cd man; chmod u+w *texi* ChangeLog split-man) |
628 (cd lispref; chmod u+w *texi* ChangeLog) | |
621 (cd oldXMenu; chmod u+w *.[ch] Makefile README) | 629 (cd oldXMenu; chmod u+w *.[ch] Makefile README) |
622 (cd lwlib; chmod u+w *.[ch] Makefile README) | 630 (cd lwlib; chmod u+w *.[ch] Makefile README) |
623 (cd src; $(MAKE) $(MFLAGS) unlock) | 631 (cd src; $(MAKE) $(MFLAGS) unlock) |
624 | 632 |
625 relock: | 633 relock: |
628 (cd etc; $(MAKE) $(MFLAGS) relock) | 636 (cd etc; $(MAKE) $(MFLAGS) relock) |
629 (cd lib-src; $(MAKE) $(MFLAGS) relock) | 637 (cd lib-src; $(MAKE) $(MFLAGS) relock) |
630 (cd lisp; $(MAKE) $(MFLAGS) relock) | 638 (cd lisp; $(MAKE) $(MFLAGS) relock) |
631 (cd lisp/term; chmod u+w README *.el) | 639 (cd lisp/term; chmod u+w README *.el) |
632 (cd man; chmod u+w *texi* ChangeLog split-man) | 640 (cd man; chmod u+w *texi* ChangeLog split-man) |
641 (cd lispref; chmod u+w *texi* ChangeLog) | |
633 (cd oldXMenu; chmod u+w *.[ch] Makefile README) | 642 (cd oldXMenu; chmod u+w *.[ch] Makefile README) |
634 (cd lwlib; chmod u+w *.[ch] Makefile README) | 643 (cd lwlib; chmod u+w *.[ch] Makefile README) |
635 (cd src; $(MAKE) $(MFLAGS) relock) | 644 (cd src; $(MAKE) $(MFLAGS) relock) |
636 | 645 |
637 # The src subdir knows how to do the right thing | 646 # The src subdir knows how to do the right thing |
650 # Note that man/Makefile knows how to | 659 # Note that man/Makefile knows how to |
651 # put the info files in $(srcdir), | 660 # put the info files in $(srcdir), |
652 # so we can do ok running make in the build dir. | 661 # so we can do ok running make in the build dir. |
653 info: force-info | 662 info: force-info |
654 (cd man; $(MAKE) $(MFLAGS) info) | 663 (cd man; $(MAKE) $(MFLAGS) info) |
664 (cd lispref; $(MAKE) $(MFLAGS) info) | |
655 dvi: | 665 dvi: |
656 (cd man; $(MAKE) $(MFLAGS) dvi) | 666 (cd man; $(MAKE) $(MFLAGS) dvi) |
667 (cd lispref; $(MAKE) $(MFLAGS) elisp.dvi) | |
657 | 668 |
658 #### Bootstrapping. | 669 #### Bootstrapping. |
659 | 670 |
660 ### This is meant for Emacs maintainers only. It first cleans the | 671 ### This is meant for Emacs maintainers only. It first cleans the |
661 ### lisp subdirectory, removing all compiled Lisp files. Then a | 672 ### lisp subdirectory, removing all compiled Lisp files. Then a |