summaryrefslogtreecommitdiff
path: root/lib/am/clean.am
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>1995-12-03 06:12:34 +0000
committerTom Tromey <tromey@redhat.com>1995-12-03 06:12:34 +0000
commitd090b70bff33abc9e417eeb00be168bcb37fe77b (patch)
treee3637b85df02ec64a4f01de69e89d8b889210cbb /lib/am/clean.am
parentca0dd75950f4dc5a33d036b5ef62366cf1247a18 (diff)
downloadautomake-d090b70bff33abc9e417eeb00be168bcb37fe77b.tar.gz
Handle installcheck.
Handle ## comments. Fixlets
Diffstat (limited to 'lib/am/clean.am')
-rw-r--r--lib/am/clean.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/am/clean.am b/lib/am/clean.am
index 2b5adbe6d..74e7765ca 100644
--- a/lib/am/clean.am
+++ b/lib/am/clean.am
@@ -1,3 +1,10 @@
+## We must test each macro because it might be empty, and an empty
+## "rm -rf" command looks disturbing.
+
+## Each "if" must always have an else because, in some versions of sh,
+## "if" will return false if the test fails and there is no else
+## clause. Bogus!
+
mostlyclean-generic:
if test -n "$(MOSTLYCLEANFILES)"; then \
rm -f $(MOSTLYCLEANFILES); \