From: Rudolf Polzer <divverent@xonotic.org>
Date: Thu, 5 Apr 2012 14:29:54 +0000 (+0200)
Subject: also make a shaderlist maker
X-Git-Tag: xonotic-v0.7.0~61
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a3ae98e65f9e9caae37694e87b5ac67936f777b7;p=xonotic%2Fxonotic-maps.pk3dir.git

also make a shaderlist maker
---

diff --git a/scripts/Makefile b/scripts/Makefile
new file mode 100644
index 00000000..2118d706
--- /dev/null
+++ b/scripts/Makefile
@@ -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 > "$@"
diff --git a/scripts/shaderlist.txt b/scripts/shaderlist.txt
index e9253184..57226fa3 100644
--- a/scripts/shaderlist.txt
+++ b/scripts/shaderlist.txt
@@ -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
-
-