]> git.rm.cloudns.org Git - xonotic/xonotic-maps.pk3dir.git/commitdiff
also make a shaderlist maker
authorRudolf Polzer <divverent@xonotic.org>
Thu, 5 Apr 2012 14:29:54 +0000 (16:29 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Thu, 5 Apr 2012 14:29:54 +0000 (16:29 +0200)
scripts/Makefile [new file with mode: 0644]
scripts/shaderlist.txt

diff --git a/scripts/Makefile b/scripts/Makefile
new file mode 100644 (file)
index 0000000..2118d70
--- /dev/null
@@ -0,0 +1,13 @@
+INFILES = $(wildcard *.shader.in)
+GENERATEDFILES = $(patsubst %.shader.in,%.shader,$(INFILES))
+
+all: $(GENERATEDFILES)
+
+%.shader: shaderlist.txt %.shader.in
+       ./shader-cpp.sh "$<" > "$@"
+
+clean:
+       $(RM) "$(GENERATEDFILES)"
+
+shaderlist.txt:
+       ls -1 *.shader | cut -d . -f 1 > "$@"
index e925318423f2d67d134f52201d85438e31a6c64c..57226fa3c5c6139fb3699fb3402a00e284367215 100644 (file)
@@ -13,31 +13,33 @@ exomorphx
 exx
 facility114invx
 facility114x
-grass
 liquids_lava
 liquids_slime
 liquids_water
 logos
 map_courtfun
+map_darkzone
+map_g-23
 map_glowplant
 map_leave_em_behind
+map_lightspeed
 map_newtonian-nightmare
 map_red-planet
+map_solarium
 map_space-elevator
 map_stormkeep
 map_techassault
 map_xoylent
-map_solarium
 metaltechx
 model_bigfan01
 model_crate02
 model_desertfactory
+model_lightspeed
 model_teleporters
 model_trak
 model_tree
 model_walker-static
 model_xonotic_jumppad01
-model_xoylent
 narmorx
 phillipk1x
 phillipk2x
@@ -57,5 +59,3 @@ trak4x
 trak5x
 trak6x
 trak7x
-
-