make: Use $(base_srcdirs) in 'make clean' rather than keeping a separate
authorJelmer Vernooij <jelmer@samba.org>
Mon, 28 Sep 2009 10:21:06 +0000 (12:21 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Mon, 28 Sep 2009 10:25:47 +0000 (12:25 +0200)
list.

source4/Makefile

index 959d0f43c77ad00c13301578266e8cfa0d4e6ada..12d39da9bdd71d11b859c5d839fc93d636800fc6 100644 (file)
@@ -153,7 +153,7 @@ include $(srcdir)/static_deps.mk
 endif
 
 clean::
-       @find ../libds ../lib ../libcli ../librpc ../libgpo ../nsswitch -name '*.o' -o -name '*.ho' | xargs rm -f
+       @find $(base_srcdirs) -name '*.o' -o -name '*.ho' | xargs rm -f
 
 PUBLIC_HEADERS += ./version.h