X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=misc%2Ftools%2Fall%2Fxonotic.subr;h=9378e935172c9425d282bfc6a0937aec1bddfcf8;hb=d5be8209970514acc5ba0f33b2c034f570d412e7;hp=0379abdc9b0a8473f198514ffbe069ad9e95584c;hpb=eae3784be2283e9cf9ab62405324e7c8e5a14232;p=xonotic%2Fxonotic.git diff --git a/misc/tools/all/xonotic.subr b/misc/tools/all/xonotic.subr index 0379abdc..9378e935 100644 --- a/misc/tools/all/xonotic.subr +++ b/misc/tools/all/xonotic.subr @@ -3,6 +3,15 @@ case "$cmd" in update-maps) misc/tools/xonotic-map-compiler-autobuild download ;; + compile-map) + if [ ! -f "netradiant/install/q3map2.x86" ] ; then + msg "q3map2 needed! Building netradiant..." + cd netradiant + make + cd ../ + fi + misc/tools/xonotic-map-compiler_from_all ./data/xonotic-maps.pk3dir/maps/$1 + ;; compile) cleand0=false cleandp=false