* lib/am/distdir.am (distcheck): Emit diagnostic when files
remain after "make uninstall".
+2001-07-14 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
+
+ * lib/am/distdir.am (distcheck): Emit diagnostic when files
+ remain after "make uninstall".
+
2001-07-14 Tom Tromey <tromey@redhat.com>
* lib/am/tags.am (.PHONY): Depend on GTAGS. From Shigio Yamaguchi.
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
## We use -le 1 because the `dir' file might still exist after uninstall.
- && test `find $$dc_install_base -type f -print | wc -l` -le 1 \
+ && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \
+ || (echo "Error: files left after uninstall" 1>&2; \
+ exit 1) ) \
&& $(MAKE) $(AM_MAKEFLAGS) dist \
&& $(MAKE) $(AM_MAKEFLAGS) distclean \
## Make sure to remove the dist file we created in the test build