-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-manual-${version}/Makefile
+ @if grep '@[a-zA-Z_]*@' emacs-manual-${version}/Makefile; then \
+ echo "Unexpanded configure variables in Makefile?" 1>&2; exit 1; \
+ fi
tar -cf emacs-manual-${version}.tar emacs-manual-${version}
- @grep '@[A-Z]*@' emacs-manual-${version}/Makefile && \
- echo "WARNING: Unexpanded configure variables in Makefile?" || true
rm -rf emacs-manual-${version}
### Makefile ends here
-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
-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
+ @if grep '@[a-zA-Z_]*@' emacs-lispref-${version}/Makefile; then \
+ echo "Unexpanded configure variables in Makefile?" 1>&2; exit 1; \
+ fi
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