(clean-unix): Use DEPTARGETS_CLEAN instead of DEPTARGETS.
authorKen Raeburn <raeburn@mit.edu>
Thu, 22 Jun 2006 19:18:19 +0000 (19:18 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 22 Jun 2006 19:18:19 +0000 (19:18 +0000)
(DEPTARGETS_CLEAN, DEPTARGETS_@top_srcdir@_.): New targets; define so that
DEPTARGETS_CLEAN has the DEP_VERIFY targets only at the top level.

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

src/config/post.in

index e960a455d4806205aff45442f08a107c8fdf5e9c..a20edf93473ce7c1f21926b8f849c2c173e9680b 100644 (file)
@@ -97,6 +97,8 @@ depend-update-makefile: .depend depend-recurse
        else :; fi
 
 DEPTARGETS = .depend .d .dtmp $(DEP_VERIFY)
+DEPTARGETS_CLEAN = .depend .d .dtmp $(DEPTARGETS_@srcdir@_@CONFIG_RELTOPDIR@)
+DEPTARGETS_@top_srcdir@_. = $(DEP_VERIFY)
 
 #
 # end dependency generation
@@ -105,7 +107,7 @@ DEPTARGETS = .depend .d .dtmp $(DEP_VERIFY)
 clean:: clean-$(WHAT)
 
 clean-unix::
-       $(RM) $(OBJS) $(DEPTARGETS) $(EXTRA_FILES)
+       $(RM) $(OBJS) $(DEPTARGETS_CLEAN) $(EXTRA_FILES)
        -$(RM) -r $(srcdir)/$(thisconfigdir)/autom4te.cache
 
 clean-windows::