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>
tar czvf $@ $^
$(PACKAGE)-$(VERSION): clean
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; \
d=$@/$$(dirname $$f); \
mkdir -p $$d; \
+ cp -a $(top_srcdir)/$$f $$d; \