51195b30dc
This should make it easy to build in different virtual machines, e.g. 32-bit.
12 lines
347 B
Makefile
12 lines
347 B
Makefile
COMMIT?=HEAD
|
|
VAGRANTBOX?=ubuntu/trusty64
|
|
|
|
.PHONY: package clean
|
|
|
|
package:
|
|
VAGRANTBOX=$(VAGRANTBOX) 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
|
|
|
|
clean:
|
|
vagrant destroy
|