1 SCM := $(shell if [ -d .svn ]; then echo svn; elif [ -d ../.git ]; then echo git; fi)
3 ZIP ?= 7za a -tzip -mx=9
4 ZIPEXCLUDE ?= -x\!*.pk3 -xr\!\.svn -x\!qcsrc
7 # NOTE: use -DUSE_FTE instead of -TFTE here!
8 # It will automagically add an engine check with -TID and then change back to -TFTE
11 # xonotic build system overrides this by command line argument to turn off the check-cvars step
18 [ "$(XON_BUILDSYSTEM)" = "" ] || [ "$(XON_BUILDSYSTEM)" = "1" ]
19 [ "$(XON_BUILDSYSTEM)" = "1" ] || { DO_NOT_RUN_MAKE=1 sh check-cvars.sh; }
26 skin: gfx/menu/default/skinvalues.txt
30 $(MAKE) -C qcsrc clean
32 gfx/menu/default/skinvalues.txt: qcsrc/menu/skin-customizables.inc
33 $(PERL) qcsrc/menu/skin-customizables.inc > gfx/menu/default/skinvalues.txt