summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-01-03 15:11:13 +0100
committerPaweł Redman <pawel.redman@gmail.com>2017-01-03 15:11:13 +0100
commitca596f679826c0baa8a9e453bdff6d9e6027d5e4 (patch)
tree2c806740f6486ef47ccd410f14967876d3e8d49e
parentd600dd437a51f3098471e8fb3ef80baf53378f15 (diff)
Improve make analmango.pk3.
-rw-r--r--.gitignore1
-rw-r--r--Makefile2
-rw-r--r--pk3.list5
3 files changed, 7 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 75aa6a7..4301ef8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
+*.pk3
maps/*.bak
maps/prefabs/*.bak
maps/*.srf
diff --git a/Makefile b/Makefile
index 58f1060..4f06514 100644
--- a/Makefile
+++ b/Makefile
@@ -45,7 +45,7 @@ MAP ?= analmango
#
analmango.pk3: $(WHOLE).bsp
- zip -r9 $@ maps/analmango.bsp scripts sound textures models
+ xargs zip -r9 analmango.pk3 < pk3.list
#
# Testing a map
diff --git a/pk3.list b/pk3.list
new file mode 100644
index 0000000..9c9ab51
--- /dev/null
+++ b/pk3.list
@@ -0,0 +1,5 @@
+maps/analmango.bsp
+scripts/
+sound/
+textures/
+README