git-annex/.gitignore

18 lines
195 B
Text
Raw Normal View History

tmp
2010-11-10 10:52:59 -04:00
test
configure
2011-08-20 16:11:42 -04:00
Build/SysConfig.hs
2010-10-10 00:18:16 -04:00
git-annex
Refactor generation of git-annex.cabal and incorporate man pages. The existing `sed | find | perl` hack in the Makefile was not including the man pages in the generated git-annex.cabal. I couldn't figure out why it didn't work; running the `find | perl` part of the command *did* list the man pages ... So, I set up a new hack. It produces a cleaner .cabal file and includes the man pages in the sdist. I changed git-annex.cabal and its generation as follows: - git-annex.cabal is now generated by a here document in git-annex.cabal.template.sh. The here document has inline file list insertion, whereas before the file lists were inserted with sed. - The 'Extra-Source-Files:' field now only includes the non-source files: the man pages, plain text documentation, and license. - The source dependencies are now listed in 'Other-Modules' sections in the 'Executable' and 'Test-Suite' sections. The list of dependencies is generated by `gen-other-modules.sh`. - The ./debian and ./doc are no longer included in the sdist package. These were not installed anywhere by `cabal install`. A user that wants them could clone the git repo. Running the tests with cabal is not yet working, i.e. cabal configure --enable-tests && cabal build && cabal test and cabal install --enable-tests fail to find Utility.Touch. However, I did not break this: it doesn't work for the git-annex package on Hackage either. Next step is to figure out how to deal with HSC in cabal ... or not bother, because `make test` works. I'm worried this is a cabal bug. To test building from sdist, I've been running cd ../.. ; cabal sdist ; cd dist ; tar xf git-annex-3.20120605.tar.gz && cd git-annex-3.20120605 && rm -fr /tmp/git-annex && cabal install --prefix=/tmp/git-annex && tree -A /tmp/git-annex in the dist directory. Using `cabal-dev install` is a better test, but is very slow.
2012-06-10 19:24:15 -07:00
git-annex.cabal
2010-10-19 15:59:40 -04:00
git-annex.1
git-annex-shell.1
git-union-merge.1
2010-10-19 15:59:40 -04:00
doc/.ikiwiki
html
*.tix
.hpc
Utility/Touch.hs
2012-04-30 14:10:10 -04:00
Utility/libdiskfree.o
dist
2012-06-10 19:03:35 -07:00
cabal-dev