diff options
author | Geoff Levand <geoffrey.levand@am.sony.com> | 2009-02-27 14:54:03 +0000 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2009-03-23 21:48:59 +1100 |
commit | dcab4e022083fecf221bebf9d6cdbb30b4b33c4d (patch) | |
tree | b6575cdc981da6aef27b6cd65668c094a8521d2c /rules.mk | |
parent | b90e4c95a69fcd5a561db71df940f0b5085b1c41 (diff) | |
download | petitboot-dcab4e022083fecf221bebf9d6cdbb30b4b33c4d.zip petitboot-dcab4e022083fecf221bebf9d6cdbb30b4b33c4d.tar.gz |
Fix out of source make dist
The dist makefile target needs to work on files in the
source directory. Add the missing $(top_srcdir).
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Diffstat (limited to 'rules.mk')
-rw-r--r-- | rules.mk | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -124,10 +124,10 @@ $(PACKAGE)-$(VERSION).tar.gz: $(PACKAGE)-$(VERSION) tar czvf $@ $^ $(PACKAGE)-$(VERSION): clean - for f in $$(git-ls-files); do \ + for f in $$(git --git-dir=$(top_srcdir)/.git ls-files); do \ d=$@/$$(dirname $$f); \ mkdir -p $$d; \ - cp -a $$f $$d; \ + cp -a $(top_srcdir)/$$f $$d; \ done clean: |