diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -23,6 +23,9 @@ test: bench: cabal bench +changes_github: + pandoc --filter extract-changes.hs changelog -t markdown_github | pbcopy + install: full cabal copy cabal register @@ -32,7 +35,10 @@ dist: man/pandoc.1 rm -rf "pandoc-${version}" tar xvzf dist/pandoc-${version}.tar.gz cd pandoc-${version} - cabal configure ${CABALARGS} && cabal build && cabal test && cd .. && rm -rf "pandoc-${version}" + stack setup && stack test && cd .. && rm -rf "pandoc-${version}" + +.travis.yml: pandoc.cabal make_travis_yml.hs + runghc make_travis_yml.hs $< > $@ debpkg: man/pandoc.1 ./make_deb.sh @@ -45,6 +51,7 @@ man/pandoc.1: README man/pandoc.1.template --filter man/capitalizeHeaders.hs \ --filter man/removeNotes.hs \ --filter man/removeLinks.hs \ + --variable version="pandoc $(version)" \ -o $@ download_stats: @@ -54,4 +61,4 @@ download_stats: clean: cabal clean -.PHONY: deps quick full install clean test bench osxpkg dist prof download_stats +.PHONY: deps quick full install clean test bench changes_github osxpkg dist prof download_stats |