pandoc/deb/Makefile
John MacFarlane 31e46c1cc1 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.
2015-10-24 22:52:41 -07:00

8 lines
263 B
Makefile

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