Makefile (1562B)
- TEMPLATES_EN = templates/head.xml templates/en/nav.xsl templates/en/footer.shtml
- .PHONY: all
- all: bookmarks.html notes/index.xhtml linux-audio-output images/avatar.png images/avatar_HD.png articles/2022\ Summary.html
- bookmarks.html: bookmarks.xbel bookmarks.xsl $(TEMPLATES_EN)
- xsltproc --nonet bookmarks.xsl bookmarks.xbel | xmllint --xinclude --encode utf-8 --nofixup-base-uris --nsclean - | sed '1d' >|$@
- articles/2022\ Summary.html: articles/2022\ Summary.xml entry.xsl $(TEMPLATES_EN)
- xsltproc --nonet --param feedURL "'https://hacktivis.me/feed.atom'" entry.xsl articles/2022\ Summary.xml | xmllint --xinclude --encode utf-8 --nofixup-base-uris --nsclean - | sed '1d' >|"$@"
- .PHONY: linux-audio-output
- linux-audio-output: images/linux-audio-output.png images/linux-audio-output.svg images/linux-audio-output-current.png images/linux-audio-output-current.svg
- images/linux-audio-output.png: images/linux-audio-output.dot
- dot -Tpng $< >|$@
- images/linux-audio-output.svg: images/linux-audio-output.dot
- dot -Tsvg $< >|$@
- images/linux-audio-output-current.dot: images/linux-audio-output.dot images/linux-audio-output-obsolete.txt
- grep -v -f images/linux-audio-output-obsolete.txt $< > $@
- sed -i 's;Linux Audio Output APIs[^"]*;Linux Audio Output APIs (current-only);' $@
- images/linux-audio-output-current.png: images/linux-audio-output-current.dot
- dot -Tpng $< >|$@
- images/linux-audio-output-current.svg: images/linux-audio-output-current.dot
- dot -Tsvg $< >|$@
- .PHONY: notes/index.xhtml
- notes/index.xhtml: notes_index.pm
- ./notes_index.pm >|$@