fix sdist to include symlinks, without which it doesn't build

oops.. will upload a new minor version to hackage
This commit is contained in:
Joey Hess 2011-07-02 17:10:43 -04:00
parent 686d08718b
commit 84a9fee6f2
2 changed files with 2 additions and 2 deletions

View file

@ -91,7 +91,7 @@ clean:
# generate a file list there.
sdist: clean
@if [ ! -e git-annex.cabal.orig ]; then cp git-annex.cabal git-annex.cabal.orig; fi
@sed -e "s!\(Extra-Source-Files: \).*!\1$(shell find . -name .git -prune -or -not -name \\*.orig -type f -print)!i" < git-annex.cabal.orig > git-annex.cabal
@sed -e "s!\(Extra-Source-Files: \).*!\1$(shell find . -name .git -prune -or -not -name \\*.orig -not -type d -print)!i" < git-annex.cabal.orig > git-annex.cabal
@cabal sdist
@mv git-annex.cabal.orig git-annex.cabal

View file

@ -1,5 +1,5 @@
Name: git-annex
Version: 3.20110702
Version: 3.20110702.2
Cabal-Version: >= 1.6
License: GPL
Maintainer: Joey Hess <joey@kitenet.net>