summaryrefslogtreecommitdiff
path: root/Makefile
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 /Makefile
parent5765af92eb3b2d5036dcd4b5050b453663e47b07 (diff)
Improve pk3 building and add missing model textures.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 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