summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/config')
-rw-r--r--src/config/ChangeLog4
-rw-r--r--src/config/post.in3
2 files changed, 4 insertions, 3 deletions
diff --git a/src/config/ChangeLog b/src/config/ChangeLog
index e8363748e..1efd14b7f 100644
--- a/src/config/ChangeLog
+++ b/src/config/ChangeLog
@@ -2,7 +2,9 @@
* pre.in (COM_ERR_DEPS): New variable.
- * post.in (clean-unix): Delete .d files.
+ * post.in (clean-unix): Delete .d and .depend files along with
+ $(OBJS) in one command, to avoid needing to test whether the
+ latter is empty.
2002-04-10 Danilo Almeida <dalmeida@mit.edu>
diff --git a/src/config/post.in b/src/config/post.in
index 699036e18..ae4b2c844 100644
--- a/src/config/post.in
+++ b/src/config/post.in
@@ -50,8 +50,7 @@ depend-prerecurse::
clean:: clean-$(WHAT)
clean-unix::
- if test -n "$(OBJS)" ; then $(RM) $(OBJS); else :; fi
- $(RM) .depend .d
+ $(RM) $(OBJS) .depend .d
clean-windows::
$(RM) *.$(OBJEXT)