From dcab4e022083fecf221bebf9d6cdbb30b4b33c4d Mon Sep 17 00:00:00 2001 From: Geoff Levand Date: Fri, 27 Feb 2009 14:54:03 +0000 Subject: [PATCH] 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 --- rules.mk | 4 ++-- 1 file 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: -- 2.39.5