oh, can't use cabal sdist --list-sources
Doesn't work when using ./Setup as cabal
This commit is contained in:
parent
1bf736293d
commit
7c558cfad1
3
Makefile
3
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 . \
|
||||
|
|
Loading…
Reference in New Issue