Fix cleaning before creating dist directory
authorJeremy Kerr <jk@ozlabs.org>
Tue, 21 Nov 2006 23:51:07 +0000 (10:51 +1100)
committerJeremy Kerr <jk@ozlabs.org>
Thu, 12 Nov 2009 23:58:45 +0000 (10:58 +1100)
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Makefile

index 8f18ecd..4561cde 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -35,7 +35,7 @@ dist: $(pkg_ver).tar.gz
 $(pkg_ver).tar.gz: $(pkg_ver)
        tar zcvf $@ $^
 
-$(pkg_ver): clean
+$(pkg_ver): distclean
        mkdir -p $@ $@/debian $@/conf
        cp -a $(sources) $@
        cp -a $(foreach f,$(deb_meta),debian/$(f)) $@/debian