From 22e26f2691a6296e4c6b0a960c5d15807bab2ed1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Wed, 21 Jul 2021 13:52:18 +0200 Subject: First commit --- Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..4ea2581 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +HOST = root@ankarstrom.se +DIR = /var/www/git/htdocs/preview +DEST = $(HOST):$(DIR) + +SET = ssh root@ankarstrom.se /git/set readme $(DIR) +IGN = 2>/dev/null || true + +upload: fref.html + rsync fref* $(DEST) + $(SET)/fref.html /git/fref + +fref.html: ../fref/fref.pdf + @rm fref*.svg $(IGN) + cp ../fref/fref.pdf . + mutool convert -o fref.svg fref.pdf + ./embed fref > fref.html -- cgit v1.2.3