aboutsummaryrefslogtreecommitdiff
path: root/deb/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-10-24 22:52:41 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-10-24 22:52:41 -0700
commit31e46c1cc18da0563a7a84607ff75b049d16f247 (patch)
tree4df2f3eb4011e10f2616cc968a5ed438d2d0e2e7 /deb/Makefile
parent34bcaed62a9eb32281ed99d10de96c6054c35367 (diff)
downloadpandoc-31e46c1cc18da0563a7a84607ff75b049d16f247.tar.gz
Added Vagrantfile for building deb in vm.
This should help in automating binary package creation. 'make package' will make the package. 'make package COMMIT=blah' will make the package from commit blah.
Diffstat (limited to 'deb/Makefile')
-rw-r--r--deb/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/deb/Makefile b/deb/Makefile
new file mode 100644
index 000000000..7d067ef70
--- /dev/null
+++ b/deb/Makefile
@@ -0,0 +1,8 @@
+COMMIT?=HEAD
+
+.PHONY: package
+
+package:
+ vagrant up
+ vagrant ssh -c 'rm -rf pandoc && git clone https://github.com/jgm/pandoc && cd pandoc && git checkout -b work $(COMMIT) && git submodule update --init && ./make_deb.sh && cp *.deb /vagrant_data/'
+ vagrant halt