summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-01-04 12:46:30 +0100
committerPaweł Redman <pawel.redman@gmail.com>2017-01-04 12:46:30 +0100
commitba7a0c87dee424ce27fedd40c2b7bc4d06649b30 (patch)
treec766b99fe0132333b12efa0c9c77e21cc754329f
parent5765af92eb3b2d5036dcd4b5050b453663e47b07 (diff)
Improve pk3 building and add missing model textures.
-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