+Sun Dec 10 11:59:33 1995 Tom Tromey <tromey@cambric.colorado.edu>
+
+ * Makefile.am (check-local): Check for 'true' in source.
+ * texinfos.am (install-info): Can't use "true" in any rule.
+
Sat Dec 9 10:16:48 1995 Tom Tromey <tromey@cambric.colorado.edu>
* Makefile.am (cvs-dist): New target.
# The simplest form of checking.
check-local: automake
@PERL@ -c -w automake
+ if grep '^[^#].*true' *.am; then :; else \
+ echo "can't use 'true' in GNU Makefile" 1>&2; \
+ exit 1; \
+ fi
automake: automake.in
CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status
# The simplest form of checking.
check-local: automake
@PERL@ -c -w automake
+ if grep '^[^#].*true' *.am; then :; else \
+ echo "can't use 'true' in GNU Makefile" 1>&2; \
+ exit 1; \
+ fi
automake: automake.in
CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status
# The simplest form of checking.
check-local: automake
@PERL@ -c -w automake
+ if grep '^[^#].*true' *.am; then :; else \
+ echo "can't use 'true' in GNU Makefile" 1>&2; \
+ exit 1; \
+ fi
automake: automake.in
CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status
for ifile in $${file}*; do \
$(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile; \
done; \
-## We need the 'else true' because in some broken versions of sh 'if'
-## will return false if the test fails.
+## We need the 'else' because in some broken versions of sh 'if' will
+## return false if the test fails. We use ':' because the GNU
+## standards prohibit us from using 'true'.
## FIXME no one has install-info, so for now we just comment it out.
## if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
## install-info --infodir=$(infodir) $$d/$$file; \
-## else true; fi; \
+## else :; fi; \
done
uninstall-info:
for ifile in $${file}*; do \
$(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile; \
done; \
-## We need the 'else true' because in some broken versions of sh 'if'
-## will return false if the test fails.
+## We need the 'else' because in some broken versions of sh 'if' will
+## return false if the test fails. We use ':' because the GNU
+## standards prohibit us from using 'true'.
## FIXME no one has install-info, so for now we just comment it out.
## if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
## install-info --infodir=$(infodir) $$d/$$file; \
-## else true; fi; \
+## else :; fi; \
done
uninstall-info: