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:
parent
686d08718b
commit
84a9fee6f2
2 changed files with 2 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -91,7 +91,7 @@ clean:
|
||||||
# generate a file list there.
|
# generate a file list there.
|
||||||
sdist: clean
|
sdist: clean
|
||||||
@if [ ! -e git-annex.cabal.orig ]; then cp git-annex.cabal git-annex.cabal.orig; fi
|
@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
|
@cabal sdist
|
||||||
@mv git-annex.cabal.orig git-annex.cabal
|
@mv git-annex.cabal.orig git-annex.cabal
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
Name: git-annex
|
Name: git-annex
|
||||||
Version: 3.20110702
|
Version: 3.20110702.2
|
||||||
Cabal-Version: >= 1.6
|
Cabal-Version: >= 1.6
|
||||||
License: GPL
|
License: GPL
|
||||||
Maintainer: Joey Hess <joey@kitenet.net>
|
Maintainer: Joey Hess <joey@kitenet.net>
|
||||||
|
|
Loading…
Reference in a new issue