aboutsummaryrefslogtreecommitdiff
path: root/deb/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-11-12 17:26:04 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-11-12 17:26:46 -0800
commit51195b30dc34eeb31ad0fc6df5240cd38f413bc2 (patch)
treef969f9480887177a56a6411bb98812773e771924 /deb/Makefile
parent0fd138167ca9c80526c05d839ec8abf4805451ce (diff)
downloadpandoc-51195b30dc34eeb31ad0fc6df5240cd38f413bc2.tar.gz
Debian: added configurable VAGRANTBOX env variable.
This should make it easy to build in different virtual machines, e.g. 32-bit.
Diffstat (limited to 'deb/Makefile')
-rw-r--r--deb/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/deb/Makefile b/deb/Makefile
index 7f514fe24..207de6895 100644
--- a/deb/Makefile
+++ b/deb/Makefile
@@ -1,9 +1,10 @@
COMMIT?=HEAD
+VAGRANTBOX?=ubuntu/trusty64
.PHONY: package clean
package:
- vagrant up
+ 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