aboutsummaryrefslogtreecommitdiff
path: root/deb/Makefile
blob: 207de68954e8cf3381f7dbc4c41c3d6718dce0b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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