summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index aafebb5b..ebd6c673 100644
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,7 @@ install:
install -s dist/build/propellor/propellor $(DESTDIR)/usr/bin/propellor
mkdir -p dist/gittmp
$(CABAL) sdist
- tar vf dist/propellor-*.tar.gz > dist/list-sources
+ tar tf dist/propellor-*.tar.gz | perl -pe 's!propellor-[^/]+/!!' > dist/list-sources
tar c -T dist/list-sources | (cd dist/gittmp && tar x)
cd dist/gittmp && git init && \
git add . \