mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-27 06:22:27 +00:00
Let you override Q3A_DIR, and install-qvm also packs up the qvms
This commit is contained in:
parent
042772503f
commit
9177a74c24
1 changed files with 3 additions and 0 deletions
|
@ -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--
|
||||
|
|
Loading…
Reference in a new issue