aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-11-20 21:40:00 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2017-11-20 21:40:00 -0800
commit773d6a17da6dc4306d266e89ba8a22479140a07d (patch)
tree73ec7c1be140fca22bdd5715c5fd0dc957d6ab02 /Makefile
parent0eb132c51877bd7cc80699134ecfc7ddd2c44f8a (diff)
downloadpandoc-773d6a17da6dc4306d266e89ba8a22479140a07d.tar.gz
Added 'packages' target to Makefile.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a9d42e6af..93da8e7cc 100644
--- a/Makefile
+++ b/Makefile
@@ -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