projects
/
platform
/
upstream
/
automake.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c9c0f3
)
(clean-generic): Only remove CLEANFILES if nonempty
author
Tom Tromey
<tromey@redhat.com>
Wed, 29 Nov 1995 03:30:47 +0000
(
03:30
+0000)
committer
Tom Tromey
<tromey@redhat.com>
Wed, 29 Nov 1995 03:30:47 +0000
(
03:30
+0000)
clean.am
patch
|
blob
|
history
lib/am/clean.am
patch
|
blob
|
history
diff --git
a/clean.am
b/clean.am
index
37400ef
..
e434ba5
100644
(file)
--- a/
clean.am
+++ b/
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)
diff --git
a/lib/am/clean.am
b/lib/am/clean.am
index
37400ef
..
e434ba5
100644
(file)
--- 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)