summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
-rw-r--r--pk3.list3
2 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 4f06514..9ed1f7c 100644
--- a/Makefile
+++ b/Makefile
@@ -44,8 +44,9 @@ MAP ?= analmango
# Creating a .pk3 with all the assets
#
-analmango.pk3: $(WHOLE).bsp
- xargs zip -r9 analmango.pk3 < pk3.list
+PK3 ?= analmango.pk3
+$(PK3): $(WHOLE).bsp
+ cat pk3.list | (while read ent; do echo $$ent; done) | xargs zip -r9 $(PK3)
#
# Testing a map
diff --git a/pk3.list b/pk3.list
index d9fbd95..fb3f2da 100644
--- a/pk3.list
+++ b/pk3.list
@@ -2,7 +2,8 @@ maps/analmango.bsp
scripts/
sound/
models/mapobjects/analmango/falling_box.md3
-models/mapobjects/analmango/falling_box.jpg
+models/mapobjects/analmango/*.jpg
+models/mapobjects/analmango/*.tga
textures/analmango
textures/uncommon
README