summaryrefslogtreecommitdiff
path: root/doc/lispref/Makefile.in
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-06-18 20:49:26 -0700
committerGlenn Morris <rgm@gnu.org>2013-06-18 20:49:26 -0700
commit789cf83370bc2485ec5d40b076e75d0ba0a499fc (patch)
tree41032736edb398c49aa4d5c42f484f4c999ff532 /doc/lispref/Makefile.in
parentad5281251b55cc7e872bb6b0a2ab7871f024a1b2 (diff)
downloademacs-789cf83370bc2485ec5d40b076e75d0ba0a499fc.tar.gz
Edit more configure variables in doc make dist rules.
* doc/emacs/Makefile.in (dist): * doc/lispintro/Makefile.in (dist): * doc/lispref/Makefile.in (dist): Edit more configure variables. Try to check that we do not miss any in future. Fixes: debbugs:14660
Diffstat (limited to 'doc/lispref/Makefile.in')
-rw-r--r--doc/lispref/Makefile.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/lispref/Makefile.in b/doc/lispref/Makefile.in
index 8e04d085c60..34c23218f2f 100644
--- a/doc/lispref/Makefile.in
+++ b/doc/lispref/Makefile.in
@@ -19,6 +19,9 @@
SHELL = /bin/sh
+# NB If you add any more configure variables,
+# update the sed rules in the dist target below.
+
# Standard configure variables.
srcdir = @srcdir@
@@ -163,8 +166,12 @@ dist:
-e 's/^\(buildinfodir *=\).*/\1 ./' \
-e 's/^\(clean:.*\)/\1 infoclean/' \
-e "s/@ver[s]ion@/${version}/" \
+ -e 's/@MAKE[I]NFO@/makeinfo/' -e 's/@MK[D]IR_P@/mkdir -p/' \
+ -e 's/@IN[F]O_EXT@/.info/' -e 's/@IN[F]O_OPTS@//' \
${srcdir}/Makefile.in > emacs-lispref-${version}/Makefile
tar -cf emacs-lispref-${version}.tar emacs-lispref-${version}
+ @grep '@[A-Z]*@' emacs-lispref-${version}/Makefile && \
+ echo "WARNING: Unexpanded configure variables in Makefile?" || true
rm -rf emacs-lispref-${version}
### Makefile ends here