summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorEric S. Raymond <esr@snark.thyrsus.com>1993-03-19 07:37:19 +0000
committerEric S. Raymond <esr@snark.thyrsus.com>1993-03-19 07:37:19 +0000
commit3057822b0849f037ec7a3695454c71724081c619 (patch)
tree47e73560efcfd663fc4dc87d53ed3728431e6a2f /Makefile.in
parent47eb3f88d2d51b067fcd31125a7640edfc9b05cf (diff)
downloademacs-3057822b0849f037ec7a3695454c71724081c619.tar.gz
Added unlock and relock productions.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in36
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}
# locallisppath=${srcdir}/site-lisp
# etcdir=${srcdir}/etc
# lockdir=${srcdir}/lock
-# archlibdir=${srcdir}/etc
+# archlibdir=${srcdir}/bin
# infodir=${srcdir}/info
# ==================== Utility Programs for the Build ====================
@@ -492,6 +492,40 @@ extraclean:
-rm config.status config-tmp-*
-rm -f *~ \#*
+### Unlocking and relocking. The idea of these productions is to reduce
+### hassles when installing an incremental tar of Emacs. Do `make unlock'
+### before unlocking the file to take the write locks off all sources so
+### that tar xvof will overwrite them without fuss. Then do `make relock'
+### afterward so that VC mode will know which files should be checked in
+### if you want to mung them.
+###
+### Note: it's no disaster if these productions miss a file or two; tar
+### and VC will swiftly let you know if this happens, and it is easily
+### corrected.
+SOURCES = ChangeLog GETTING.GNU.SOFTWARE INSTALL Makefile.in PROBLEMS \
+ README build-install.in configure make-dist move-if-change
+
+unlock:
+ chmod u+w $(SOURCES) cpp/*
+ -(cd elisp; chmod u+w Makefile README *.texi)
+ (cd etc; make unlock)
+ (cd lib-src; make unlock)
+ (cd lisp; make unlock)
+ (cd lisp/term; chmod u+w README *.el)
+ (cd man; chmod u+w *texi* ChangeLog split-man)
+ (cd oldXMenu; chmod u+w *.[ch] Makefile README)
+ (cd src; make unlock)
+
+relock:
+ chmod u-w $(SOURCES) cpp/*
+ -(cd elisp; chmod u-w Makefile README *.texi)
+ (cd etc; make relock)
+ (cd lib-src; make relock)
+ (cd lisp; make relock)
+ (cd lisp/term; chmod u+w README *.el)
+ (cd man; chmod u+w *texi* ChangeLog split-man)
+ (cd oldXMenu; chmod u+w *.[ch] Makefile README)
+ (cd src; make relock)
TAGS tags: lib-src
(cd ${srcdir} ; lib-src/etags --output=./src/TAGS \