diff options
| author | Eric S. Raymond | 1993-03-19 07:37:19 +0000 |
|---|---|---|
| committer | Eric S. Raymond | 1993-03-19 07:37:19 +0000 |
| commit | 29c0047b0798effdc5ab1f6e6aff8aef7dbd5176 (patch) | |
| tree | e6437863fc21471304c9f413dbcf70eadf39096f | |
| parent | b66a6eb41f95e1b71278bbf287ac932cb39f8f4f (diff) | |
| download | emacs-29c0047b0798effdc5ab1f6e6aff8aef7dbd5176.tar.gz emacs-29c0047b0798effdc5ab1f6e6aff8aef7dbd5176.zip | |
Added unlock and relock productions.
| -rw-r--r-- | Makefile.in | 36 |
1 files changed, 35 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index 5942d85d5c6..079e5849aeb 100644 --- a/Makefile.in +++ b/Makefile.in | |||
| @@ -167,7 +167,7 @@ archlibdir=${libdir}/emacs/${version}/${configname} | |||
| 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 ==================== |
| @@ -492,6 +492,40 @@ extraclean: | |||
| 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 \ |