comparison Makefile.in @ 2261:17cbbc48a154

Added unlock and relock productions.
author Eric S. Raymond <esr@snark.thyrsus.com>
date Fri, 19 Mar 1993 07:37:19 +0000
parents 19e1e3cb7415
children b1c74a8a020b
comparison
equal deleted inserted replaced
2260:bb1a01e47d85 2261:17cbbc48a154
165 # lispdir=${srcdir}/lisp 165 # lispdir=${srcdir}/lisp
166 # externallispdir=${srcdir}/externallisp 166 # externallispdir=${srcdir}/externallisp
167 # locallisppath=${srcdir}/site-lisp 167 # locallisppath=${srcdir}/site-lisp
168 # etcdir=${srcdir}/etc 168 # etcdir=${srcdir}/etc
169 # lockdir=${srcdir}/lock 169 # lockdir=${srcdir}/lock
170 # archlibdir=${srcdir}/etc 170 # archlibdir=${srcdir}/bin
171 # infodir=${srcdir}/info 171 # infodir=${srcdir}/info
172 172
173 # ==================== Utility Programs for the Build ==================== 173 # ==================== Utility Programs for the Build ====================
174 174
175 # Allow the user to specify the install program. 175 # Allow the user to specify the install program.
490 for i in ${SUBDIR}; do (cd $$i; $(MAKE) ${MFLAGS} extraclean); done 490 for i in ${SUBDIR}; do (cd $$i; $(MAKE) ${MFLAGS} extraclean); done
491 -(cd lock; rm *) 491 -(cd lock; rm *)
492 -rm config.status config-tmp-* 492 -rm config.status config-tmp-*
493 -rm -f *~ \#* 493 -rm -f *~ \#*
494 494
495 ### Unlocking and relocking. The idea of these productions is to reduce
496 ### hassles when installing an incremental tar of Emacs. Do `make unlock'
497 ### before unlocking the file to take the write locks off all sources so
498 ### that tar xvof will overwrite them without fuss. Then do `make relock'
499 ### afterward so that VC mode will know which files should be checked in
500 ### if you want to mung them.
501 ###
502 ### Note: it's no disaster if these productions miss a file or two; tar
503 ### and VC will swiftly let you know if this happens, and it is easily
504 ### corrected.
505 SOURCES = ChangeLog GETTING.GNU.SOFTWARE INSTALL Makefile.in PROBLEMS \
506 README build-install.in configure make-dist move-if-change
507
508 unlock:
509 chmod u+w $(SOURCES) cpp/*
510 -(cd elisp; chmod u+w Makefile README *.texi)
511 (cd etc; make unlock)
512 (cd lib-src; make unlock)
513 (cd lisp; make unlock)
514 (cd lisp/term; chmod u+w README *.el)
515 (cd man; chmod u+w *texi* ChangeLog split-man)
516 (cd oldXMenu; chmod u+w *.[ch] Makefile README)
517 (cd src; make unlock)
518
519 relock:
520 chmod u-w $(SOURCES) cpp/*
521 -(cd elisp; chmod u-w Makefile README *.texi)
522 (cd etc; make relock)
523 (cd lib-src; make relock)
524 (cd lisp; make relock)
525 (cd lisp/term; chmod u+w README *.el)
526 (cd man; chmod u+w *texi* ChangeLog split-man)
527 (cd oldXMenu; chmod u+w *.[ch] Makefile README)
528 (cd src; make relock)
495 529
496 TAGS tags: lib-src 530 TAGS tags: lib-src
497 (cd ${srcdir} ; lib-src/etags --output=./src/TAGS \ 531 (cd ${srcdir} ; lib-src/etags --output=./src/TAGS \
498 src/*.[ch] lisp/*.el lisp/term/*.el) 532 src/*.[ch] lisp/*.el lisp/term/*.el)
499 533