Let you override Q3A_DIR, and install-qvm also packs up the qvms

This commit is contained in:
Scott Brooks 2009-06-28 18:33:52 +00:00
parent 042772503f
commit 9177a74c24

View file

@ -8,7 +8,9 @@
# --Makefile variables--
MOUNT_DIR=.
ifndef Q3A_DIR
Q3A_DIR=/home/ra/.q3a
endif
MOD_DIR=reaction
# --object list--
@ -330,6 +332,7 @@ install-qvm:qvm
@if [ ! -d $(Q3A_DIR)/$(MOD_DIR) ];then mkdir $(Q3A_DIR)/$(MOD_DIR);fi
@if [ ! -d $(Q3A_DIR)/$(MOD_DIR)/vm ];then mkdir $(Q3A_DIR)/$(MOD_DIR)/vm;fi
cp $(BQ)/*.qvm $(Q3A_DIR)/$(MOD_DIR)/vm
cd $(Q3A_DIR)/$(MOD_DIR); zip -r zz-code.pk3 vm/*.qvm
# --dependency rules--