summaryrefslogtreecommitdiffstats
path: root/rules.mk
diff options
context:
space:
mode:
authorGeoff Levand <geoffrey.levand@am.sony.com>2009-02-27 14:54:03 +0000
committerJeremy Kerr <jk@ozlabs.org>2009-03-23 21:48:59 +1100
commitdcab4e022083fecf221bebf9d6cdbb30b4b33c4d (patch)
treeb6575cdc981da6aef27b6cd65668c094a8521d2c /rules.mk
parentb90e4c95a69fcd5a561db71df940f0b5085b1c41 (diff)
downloadtalos-petitboot-dcab4e022083fecf221bebf9d6cdbb30b4b33c4d.tar.gz
talos-petitboot-dcab4e022083fecf221bebf9d6cdbb30b4b33c4d.zip
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.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules.mk b/rules.mk
index 9b6d5ba..6f85040 100644
--- a/rules.mk
+++ b/rules.mk
@@ -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:
OpenPOWER on IntegriCloud