summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess2014-08-19 16:56:24 -0400
committerJoey Hess2014-08-19 16:56:24 -0400
commit5b651cf81881a0970ec92cdf4702ada98c7786e4 (patch)
treed7ce65efabebba96eebc58f0416b2f959d491e5a
parent922f916baf4da6435a390896e949d870e9a3dfab (diff)
parentb9f1e87604bab5786e530318e7f3b15ccb737b30 (diff)
Merge branch 'joeyconfig'
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index dec7f055..7b47c86c 100644
--- a/Makefile
+++ b/Makefile
@@ -22,9 +22,8 @@ dist/setup-config: propellor.cabal
install:
install -d $(DESTDIR)/usr/bin $(DESTDIR)/usr/src/propellor
install -s dist/build/propellor/propellor $(DESTDIR)/usr/bin/propellor
- $(CABAL) sdist
mkdir -p dist/gittmp
- cat dist/propellor-*.tar.gz | (cd dist/gittmp && tar zx --strip-components=1)
+ git archive HEAD - | (cd dist/gittmp && tar zx)
cd dist/gittmp && git init && \
git add . \
&& git commit -q -m "distributed version of propellor" \