summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoey Hess2014-08-19 17:19:28 -0400
committerJoey Hess2014-08-19 17:19:28 -0400
commit7c558cfad1c3a9108c570c540ec59978f7b4d617 (patch)
tree049e7a2c8b0c97ede1a840138af25602c14fd9dd /Makefile
parent1bf736293dbbbc8dd4f302e00587a7b4eb4b8ab9 (diff)
oh, can't use cabal sdist --list-sources
Doesn't work when using ./Setup as cabal
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6bff03d0..aafebb5b 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
- $(CABAL) sdist --list-sources > dist/list-sources
+ $(CABAL) sdist
+ tar vf dist/propellor-*.tar.gz > dist/list-sources
tar c -T dist/list-sources | (cd dist/gittmp && tar x)
cd dist/gittmp && git init && \
git add . \