mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-21 00:52:51 -06:00
Fix make sdist to use git archive instead of darcs dist
This commit is contained in:
13
Makefile
13
Makefile
@@ -21,9 +21,6 @@ doc:
|
|||||||
clean:
|
clean:
|
||||||
cabal clean
|
cabal clean
|
||||||
|
|
||||||
#sdist:
|
|
||||||
# cabal sdist
|
|
||||||
|
|
||||||
gf:
|
gf:
|
||||||
cabal build rgl-none
|
cabal build rgl-none
|
||||||
strip dist/build/gf/gf
|
strip dist/build/gf/gf
|
||||||
@@ -45,9 +42,11 @@ pkg:
|
|||||||
bintar:
|
bintar:
|
||||||
bash bin/build-binary-dist.sh
|
bash bin/build-binary-dist.sh
|
||||||
|
|
||||||
# Make a source tar.gz distribution using darcs to make sure that everything
|
#sdist:
|
||||||
# is included. We put the distribution in dist/ so it is removed on
|
# cabal sdist
|
||||||
# `make clean`
|
|
||||||
|
# Make a source tar.gz distribution using git to make sure that everything is included.
|
||||||
|
# We put the distribution in dist/ so it is removed on `make clean`
|
||||||
sdist:
|
sdist:
|
||||||
test -d dist || mkdir dist
|
test -d dist || mkdir dist
|
||||||
darcs dist -d dist/gf-${VERSION}
|
git archive --format=tar.gz --output=dist/gf-${VERSION}.tar.gz HEAD
|
||||||
|
|||||||
Reference in New Issue
Block a user