Be a little more flexible with order strings
[bitfield] / Makefile
index 50afbac617ab6d22e541e1100b78fe6bb1bf0771..4561cdecc64178d3e1ba3862ec2f0b19388322d6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ bindir=$(prefix)/bin
 sysconfdir=$(prefix)/etc
 sharedir=$(prefix)/share
 
-sources=bitfield bitfield-completions.sh bitfield.vim Makefile
+sources=bitfield bitfield-completions.sh bitfield.vim Makefile ChangeLog
 deb_meta=bitfield.install bitfield-data.install changelog control rules
 configs=cell.conf powerpc.conf
 
@@ -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