Added 'packages' target to Makefile.

This commit is contained in:
John MacFarlane 2017-11-20 21:40:00 -08:00
parent 0eb132c518
commit 773d6a17da

View file

@ -41,8 +41,11 @@ dist: man/pandoc.1
cd pandoc-${version}
stack setup && stack test && cd .. && rm -rf "pandoc-${version}"
packages: winpkg debpkg macospkg
debpkg: man/pandoc.1
make -C linux
make -C linux && \
cp linux/artifacts/pandoc-$(version)-*.* .
macospkg: man/pandoc.1
./macos/make_macos_package.sh
@ -85,4 +88,4 @@ download_stats:
clean:
stack clean
.PHONY: deps quick full haddock install clean test bench changes_github macospkg dist prof download_stats reformat lint weigh doc/lua-filters.md
.PHONY: deps quick full haddock install clean test bench changes_github macospkg dist prof download_stats reformat lint weigh doc/lua-filters.md packages