summaryrefslogtreecommitdiff
path: root/lib/am/clean.am
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>1995-11-29 03:30:47 +0000
committerTom Tromey <tromey@redhat.com>1995-11-29 03:30:47 +0000
commitbacac1d8c5674dbbff7565774aca81e7147e4ff9 (patch)
tree0cbd9d12027677c59486da1cf6578af8d0f7d857 /lib/am/clean.am
parent4c9c0f3426bd6f194fa1570fb11fb912761788b5 (diff)
downloadautomake-bacac1d8c5674dbbff7565774aca81e7147e4ff9.tar.gz
(clean-generic): Only remove CLEANFILES if nonempty
Diffstat (limited to 'lib/am/clean.am')
-rw-r--r--lib/am/clean.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/am/clean.am b/lib/am/clean.am
index 37400efd5..e434ba55d 100644
--- a/lib/am/clean.am
+++ b/lib/am/clean.am
@@ -1,7 +1,9 @@
mostlyclean-generic:
clean-generic:
- rm -f $(CLEANFILES)
+ if test -n "$(CLEANFILES)"; then \
+ rm -f $(CLEANFILES) \
+ fi
distclean-generic:
rm -f Makefile $(DISTCLEANFILES)