From a58125bac81d47c41c8beef00ff49f7ce7df888d Mon Sep 17 00:00:00 2001
From: niepra01 <rolf.niepraschk@ptb.de>
Date: Fri, 20 Mar 2015 11:10:23 +0100
Subject: [PATCH] Archiverzeugung

---
 ptbposter/Makefile | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/ptbposter/Makefile b/ptbposter/Makefile
index ba3f607..402ddc0 100644
--- a/ptbposter/Makefile
+++ b/ptbposter/Makefile
@@ -1,12 +1,14 @@
 
-# Rolf Niepraschk, 2015/03/19, Rolf.Niepraschk@ptb.de
+# Rolf Niepraschk, 2015/03/20, Rolf.Niepraschk@ptb.de
 
 .SUFFIXES : .tex .ltx .dvi .ps .pdf .eps
 
 DOC1 = ptbposter-test-hoch
 DOC2 = ptbposter-test-quer
 
-ADDINPUTS = ptbposter-inc.tex ptbposter.cls
+ARCHNAME = ptbposter-$(shell date +%Y-%m-%d).zip
+
+ADDINPUTS = ptbposter-inc.tex ptbposter.cls ptbposter-logo.pdf
 
 all : ptbposter-test-hoch.pdf ptbposter-test-quer.pdf
 
@@ -23,4 +25,7 @@ veryclean : clean
 	$(RM) $(addprefix $(DOC1), .pdf)
 	$(RM) $(addprefix $(DOC2), .pdf)
 
+arch :
+	zip $(ARCHNAME) $(DOC1).tex $(DOC2).tex $(ADDINPUTS)
+	@ echo $(ARCHNAME)
 
-- 
GitLab