aboutsummaryrefslogtreecommitdiff
path: root/deb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'deb/Makefile')
-rw-r--r--deb/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/deb/Makefile b/deb/Makefile
index 0c4262fc0..7310dc0bd 100644
--- a/deb/Makefile
+++ b/deb/Makefile
@@ -1,11 +1,12 @@
-COMMIT?=HEAD
+TREE?=HEAD
+DEBPKGVER?=1
VAGRANTBOX?=debian/wheezy64
.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 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: