File: Makefile

package info (click to toggle)
stateless-openpgp-docs 13.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 380 kB
  • sloc: sh: 951; ansic: 279; makefile: 49; python: 36
file content (14 lines) | stat: -rw-r--r-- 351 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

BASIS = openpgp-sop-ietf-112
$(BASIS).pdf: $(BASIS).html
	weasyprint $< $@

$(BASIS).html: $(BASIS).md theme/css/theme.css
	darkslide --theme ./theme --embed --destination=$@ $^

# alternate conversion strategy:
# open sop.html in chromium, hit 'x' to expose all slides, then print to pdf

clean:
	rm -f $(BASIS).html $(BASIS).pdf