Skip to content

Commit

Permalink
Add makefile, hyperlink source in reference
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspervdj committed Jun 11, 2011
1 parent eeb549c commit 893b366
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Generate the docs and copy them to the website dir
haddock:
cabal haddock --hyperlink-source
rm -rf examples/hakyll/reference/
cp -r dist/doc/html/hakyll/ examples/hakyll/reference/

# Run the tests
test:
runghc -isrc -itests tests/TestSuite.hs
2 changes: 1 addition & 1 deletion examples/hakyll/hakyll.hs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ main = hakyll $ do
compile compressCssCompiler

-- Static directories
forM_ ["images/*", "examples/*", "reference/*"] $ \f -> match f $ do
forM_ ["images/*", "examples/*", "reference/**"] $ \f -> match f $ do
route idRoute
compile copyFileCompiler

Expand Down

0 comments on commit 893b366

Please sign in to comment.