diff options
author | EuAndreh <eu@euandre.org> | 2025-04-30 19:29:59 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2025-04-30 19:29:59 -0300 |
commit | 85658040088739233aac509dacf4dddb113bffc8 (patch) | |
tree | f8f23bc4cba8d0c5b2002e6eb8516464df02c2f9 /Makefile | |
parent | src/content/en/slide/: Move existing slide files to appropriate location (diff) | |
download | euandre.org-85658040088739233aac509dacf4dddb113bffc8.tar.gz euandre.org-85658040088739233aac509dacf4dddb113bffc8.tar.xz |
Makefile: Build slide PDFs with shiny new eslaides(1)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -28,7 +28,7 @@ BASEURL = / .SUFFIXES: .SUFFIXES: .adoc .conf .snippets .indexentry .feedentry .mapentry .sortdata .xml .SUFFIXES: .htmlbody .htmlheader .htmlfooter .htmllisting .html .links .caslinks -.SUFFIXES: .txt .categorydata .gz .torrent .flac .ogg +.SUFFIXES: .txt .categorydata .gz .torrent .flac .ogg .ps .pdf .adoc.conf: mkwb conf src/global.conf $< > $@ @@ -74,6 +74,12 @@ BASEURL = / .flac.ogg: ffmpeg $(FFMFLAGS) -i $< -ar 48000 -vn -c:a libvorbis -b:a 320k $@ +.adoc.ps: + eslaides < $< > $@ + +.ps.pdf: + ps2pdf - < $< > $@ + all: @@ -103,6 +109,8 @@ categories.txt = $(categories.adoc:.adoc=.txt) categories.xml = $(categories.adoc:.adoc=.xml) categories.xml.gz = $(categories.adoc:.adoc=.xml.gz) sources.media.torrent = $(sources.media:=.torrent) +slides.ps = $(slides.adoc:.adoc=.ps) +slides.pdf = $(slides.adoc:.adoc=.pdf) sources = \ $(sources.adoc) \ @@ -115,6 +123,7 @@ sources = \ dynamic-contents = \ $(sources.html) \ + $(slides.pdf) \ $(feeds.xml) \ src/content/sitemap.xml \ @@ -181,6 +190,8 @@ derived-assets = \ $(categories.txt) \ $(categories.xml) \ $(categories.xml.gz) \ + $(slides.ps) \ + $(slides.pdf) \ email.txt \ baseurl.txt \ fingerprint.txt \ |