oops, can't rely on a git repo when building debian package..

This commit is contained in:
Joey Hess 2014-08-19 17:15:58 -04:00
parent d54ee6c336
commit fc967dfa4c
1 changed files with 2 additions and 1 deletions

View File

@ -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" \