]> pere.pagekite.me Git - homepage.git/blob - mypapers/2023-tegnsett/Makefile
Generated.
[homepage.git] / mypapers / 2023-tegnsett / Makefile
1 GENERATED = \
2 2023-10-aksess-tegnsett.html \
3 2023-10-aksess-tegnsett-fop.fo \
4 2023-10-aksess-tegnsett.pdf
5
6 all: $(GENERATED)
7
8 2023-10-aksess-tegnsett.html: 2023-10-aksess-tegnsett.adoc
9 asciidoctor -o 2023-10-aksess-tegnsett.html 2023-10-aksess-tegnsett.adoc
10 2023-10-aksess-tegnsett.xml: 2023-10-aksess-tegnsett.adoc
11 asciidoctor -d article -b docbook5 -o 2023-10-aksess-tegnsett.xml 2023-10-aksess-tegnsett.adoc
12
13 2023-10-aksess-tegnsett-fop.fo: 2023-10-aksess-tegnsett.xml
14 xsltproc \
15 --output $@.new \
16 /usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl \
17 $<
18 xmllint --format $@.new > $@
19 $(RM) $@.new
20
21 2023-10-aksess-tegnsett2.html: 2023-10-aksess-tegnsett.xml
22 xsltproc \
23 --output $@ \
24 /usr/share/xml/docbook/stylesheet/docbook-xsl/html/docbook.xsl \
25 $<
26
27 2023-10-aksess-tegnsett.pdf: 2023-10-aksess-tegnsett-fop.fo
28 fop -fo $^ -pdf $@
29
30
31 clean:
32 $(RM) 2023-10-aksess-tegnsett.xml $(GENERATED)
33 $(RM) *~