aboutsummaryrefslogtreecommitdiff
path: root/deb/Makefile
blob: 7310dc0bd6c00f02843bf85376863fd278ab42fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
TREE?=HEAD
DEBPKGVER?=1
VAGRANTBOX?=debian/wheezy64

.PHONY: package clean

package:
	VAGRANTBOX=$(VAGRANTBOX) vagrant up
	vagrant ssh -c 'DEBPKGVER=$(DEBPKGVER) rm -rf pandoc && git clone https://github.com/jgm/pandoc && cd pandoc && git checkout -b work $(TREE) && git submodule update --init && sh -ev ./deb/make_deb.sh && cp *.deb /vagrant_data/'
	vagrant halt

clean:
	vagrant destroy