summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoey Hess2014-08-19 17:15:58 -0400
committerJoey Hess2014-08-19 17:15:58 -0400
commitfc967dfa4c8568d8fd47e3a9a837421f2acfd245 (patch)
tree42ccceede1a856069d1c3570ed2a3cbced9a31b8 /Makefile
parentd54ee6c336f21212bda28559ec7bac02a11c15a4 (diff)
oops, can't rely on a git repo when building debian package..
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ca89b5bb..6bff03d0 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,8 @@ install:
install -d $(DESTDIR)/usr/bin $(DESTDIR)/usr/src/propellor
install -s dist/build/propellor/propellor $(DESTDIR)/usr/bin/propellor
mkdir -p dist/gittmp
- git archive HEAD | (cd dist/gittmp && tar x)
+ $(CABAL) sdist --list-sources > dist/list-sources
+ tar c -T dist/list-sources | (cd dist/gittmp && tar x)
cd dist/gittmp && git init && \
git add . \
&& git commit -q -m "distributed version of propellor" \