From 53039676823ae6c528e19cedd439a24031bd3278 Mon Sep 17 00:00:00 2001
From: Lars Frost <larsf@fsmpi.rwth-aachen.de>
Date: Mon, 24 Jun 2024 22:49:54 +0200
Subject: [PATCH] Add publish rule

---
 Makefile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index d0fa388..bffd3c0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 
 all: out/Leitfaden.pdf
 
-out/Leitfaden.pdf: leitfaden.typ template.typ sections/*
+out/Leitfaden.pdf: leitfaden.typ template.typ sections/* images/*
 	mkdir -p out
 	typst compile leitfaden.typ $@
 
@@ -14,4 +14,8 @@ clean:
 open: out/Leitfaden.pdf
 	xdg-open out/Leitfaden.pdf
 
-.PHONY: all clean watch
\ No newline at end of file
+publish: out/Leitfaden.pdf
+	cp out/Leitfaden.pdf /shared/Projects/Osak/web/files/gamejam-2024-07-05/Guideline.pdf
+	make -C /shared/Projects/Osak/web forcedeploy
+
+.PHONY: all clean watch
-- 
GitLab