aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2024-04-05 10:13:33 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2024-04-05 10:13:33 +0200
commit09f11c240dc47feb4270b65c145a7fa4e1b011cb (patch)
treed0fda7be8dd1e2f2995ab647f5261afb6795d5ec /Makefile
parent260c5574afa097f6d89e82d173946ccfda0fb456 (diff)
downloadsnake-09f11c240dc47feb4270b65c145a7fa4e1b011cb.tar.gz
snake-09f11c240dc47feb4270b65c145a7fa4e1b011cb.zip
include path in template zip file
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d4bfd86..dbdc46f 100644
--- a/Makefile
+++ b/Makefile
@@ -18,4 +18,7 @@ clean:
rm -f *.class
Vorlage.zip: Zeichenfenster.java
- zip Vorlage.zip $(shell find . -name '*.java' -not -name 'Snake.java') README.TXT
+ mkdir -p Snake
+ cp -u $(shell find . -maxdepth 1 -name '*.java' -not -name 'Snake.java') README.txt Snake
+ zip -r Vorlage.zip Snake
+ rm -r Snake