summaryrefslogtreecommitdiff
path: root/doc/lispintro/Makefile.in
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-06-18 23:41:37 -0700
committerGlenn Morris <rgm@gnu.org>2013-06-18 23:41:37 -0700
commitfc4893ebe8a19eec66fd842ffe1e8237417ff769 (patch)
tree082446ba9d6486eeec056ae54d0d7d16b9be45a8 /doc/lispintro/Makefile.in
parent9dd33e8563f32b4847bf2451abbf8b2ad40bbe8c (diff)
downloademacs-fc4893ebe8a19eec66fd842ffe1e8237417ff769.tar.gz
Tweak regexp in previous doc/*/Makefile.in change, make error fatal
Diffstat (limited to 'doc/lispintro/Makefile.in')
-rw-r--r--doc/lispintro/Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/lispintro/Makefile.in b/doc/lispintro/Makefile.in
index 80987d359b7..b60c752e92b 100644
--- a/doc/lispintro/Makefile.in
+++ b/doc/lispintro/Makefile.in
@@ -112,9 +112,10 @@ dist:
-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-lispintro-${version}/Makefile
+ @if grep '@[a-zA-Z_]*@' emacs-lispintro-${version}/Makefile; then \
+ echo "Unexpanded configure variables in Makefile?" 1>&2; exit 1; \
+ fi
tar -cf emacs-lispintro-${version}.tar emacs-lispintro-${version}
- @grep '@[A-Z]*@' emacs-lispintro-${version}/Makefile && \
- echo "WARNING: Unexpanded configure variables in Makefile?" || true
rm -rf emacs-lispintro-${version}
### Makefile ends here