* post.in (clean-unix): Delete .d and .depend files along with $(OBJS) in one
authorKen Raeburn <raeburn@mit.edu>
Sat, 15 Jun 2002 09:32:06 +0000 (09:32 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sat, 15 Jun 2002 09:32:06 +0000 (09:32 +0000)
command, to avoid needing to test whether the latter is empty.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14523 dc483132-0cff-0310-8789-dd5450dbe970

src/config/ChangeLog
src/config/post.in

index e8363748e8cfd131b4f54bec74c9191a1781b3d1..1efd14b7fbafe63d506c5e529c7d74971d70a991 100644 (file)
@@ -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>
 
index 699036e180f42d8ab5a9f3fbedceeedf360fc8d0..ae4b2c84482df78b067b67d9731873dd2640d525 100644 (file)
@@ -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)