diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2008-01-08 09:39:55 +1100 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2008-01-08 09:39:55 +1100 |
commit | 7a0b7f404028a63e9527b26eb09b6de9958acc34 (patch) | |
tree | 85ca2ffd510b22b81b97821f4d3d2285e1270e4b | |
parent | 2ce51d1e70aaf667be126b88a35b6210a45fb314 (diff) | |
download | talos-petitboot-7a0b7f404028a63e9527b26eb09b6de9958acc34.tar.gz talos-petitboot-7a0b7f404028a63e9527b26eb09b6de9958acc34.zip |
Use git-ls-files for make dist target
To make sure we won't miss any files.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
-rw-r--r-- | Makefile | 14 |
1 files changed, 5 insertions, 9 deletions
@@ -53,15 +53,11 @@ $(PACKAGE)-$(VERSION).tar.gz: $(PACKAGE)-$(VERSION) tar czvf $@ $^ $(PACKAGE)-$(VERSION): clean - mkdir $@ $@/devices - cp -a artwork $@ - cp -a utils $@ - cp *.[ch] $@ - cp -a devices/*.{c,h,sh} $@/devices/ - cp -a devices/parser-tests $@/devices/ - cp Makefile $@ - cp TODO COPYING $@ - + for f in $$(git-ls-files); do \ + d=$@/$$(dirname $$f); \ + mkdir -p $$d; \ + cp -a $$f $$d; \ + done clean: rm -rf $(PACKAGE)-$(VERSION) rm -f petitboot |