Browse files

Put Paths_gitit.hs in data for development.

Otherwise it seems to be included even when Cabal is used to
build.  Modified Makefile to include the data directory so it
is seen.

Note:  Makefile is provided for quick and dirty
development builds.  Cabal should always be used for production.
  • Loading branch information...
1 parent 9ec3757 commit ffcbfd71d8eb0a8eed062cbcfb8eafc10a3cc7f0 @jgm committed Nov 7, 2008
Showing with 2 additions and 2 deletions.
  1. +1 −1 Makefile
  2. 0 { → data}/Paths_gitit.hs
  3. +1 −1 gitit.cabal
View
2 Makefile
@@ -1,5 +1,5 @@
gitit: Gitit.hs Gitit/Git.hs Gitit/State.hs
- ghc --make -Wall -o gitit Gitit.hs -threaded
+ ghc --make -Wall -o gitit Gitit.hs -threaded -idata
.PHONY: static clean
static:
View
0 Paths_gitit.hs → data/Paths_gitit.hs
File renamed without changes.
View
2 gitit.cabal
@@ -31,7 +31,7 @@ data-files: stylesheets/gitit.css, stylesheets/hk-pyg.css,
hs-source-dirs: .
executable: gitit
main-is: Gitit.hs
-other-modules: Gitit.State, Gitit.Git
+other-modules: Gitit.State, Gitit.Git, Paths_gitit
build-depends: base, parsec < 3, pretty, xhtml, containers, pandoc
>= 1.1, process, filepath, directory, mtl, cgi,
network, old-time, highlighting-kate, bytestring,

0 comments on commit ffcbfd7

Please sign in to comment.