aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 4ea25816f2d82f6d94a47c230b75f4e195880fe4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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