diff options
Diffstat (limited to '')
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | Makefile | 13 | ||||
-rw-r--r-- | deps.mk | 6 | ||||
-rwxr-xr-x | mkdeps.sh | 9 | ||||
-rw-r--r-- | src/content/en/blog/2020/10/19/feature-flags.adoc | 2 | ||||
-rw-r--r-- | src/content/en/blog/2020/11/14/local-first-review.adoc | 2 | ||||
l--------- | src/slides/en | 1 |
7 files changed, 32 insertions, 3 deletions
@@ -16,6 +16,8 @@ *.htmlheader *.htmlfooter *.htmllisting +*.ps +*.pdf index.htmlheader index.htmlfooter index.htmllisting @@ -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 \ @@ -70,6 +70,10 @@ articles.adoc = \ src/content/en/til/2021/08/11/js-bigint-reviver.adoc \ src/content/pt/hea/2020/08/12/arquivo-datado.adoc \ +slides.adoc = \ + src/content/en/slide/2020/10/19/feature-flags.adoc \ + src/content/en/slide/2020/11/14/local-first-hype.adoc \ + categories.adoc = \ src/content/en/blog/categories.adoc \ src/content/en/pastebin/categories.adoc \ @@ -305,6 +309,8 @@ src/content/en/podcast/categories.snippets.gz: src/content/en/podcast/categories src/content/en/screencast/categories.snippets.gz: src/content/en/screencast/categories.snippets src/content/en/til/categories.snippets.gz: src/content/en/til/categories.snippets src/content/pt/hea/categorias.snippets.gz: src/content/pt/hea/categorias.snippets +src/content/en/slide/2020/10/19/feature-flags.pdf.gz: src/content/en/slide/2020/10/19/feature-flags.pdf +src/content/en/slide/2020/11/14/local-first-hype.pdf.gz: src/content/en/slide/2020/11/14/local-first-hype.pdf src/content/en/blog/categories.xml.gz: src/content/en/blog/categories.xml src/content/en/pastebin/categories.xml.gz: src/content/en/pastebin/categories.xml src/content/en/podcast/categories.xml.gz: src/content/en/podcast/categories.xml @@ -16,6 +16,10 @@ articles() { find src/collections/*/*/*/ -type f -name '*.adoc' | normalize } +slides() { + find src/slides/*/*/ -type f -name '*.adoc' | normalize +} + indexes() { find src/collections/*/*/index.adoc | normalize } @@ -57,6 +61,7 @@ files() { pages | varlist 'pages.adoc' articles | varlist 'articles.adoc' +slides | varlist 'slides.adoc' categories | varlist 'categories.adoc' indexes | varlist 'indexes.adoc' indexes | sed 's|/index\.adoc$|/feed.xml|' | varlist 'feeds.xml' @@ -75,6 +80,7 @@ cat po/po4a.cfg | { files | sed 's/^\(.*\)\.adoc$/\1.html/' files | sed 's/^\(.*\)\.adoc$/\1.snippets/' + slides | sed 's/^\(.*\)\.adoc$/\1.pdf/' indexes | sed 's|^\(.*\)/index\.adoc$|\1/categories.xml|' indexes | sed 's|^\(.*\)/index\.adoc$|\1/feed.xml|' } | sed 's/^\(.*\)$/\1.gz:\t\1/' @@ -103,6 +109,9 @@ printf '\n' media | sed 's/\(.*\)$/\1.torrent:\t\1/' printf '\n' +slides | sed 's/^\(.*\)\.adoc$/\1.ps:\t\1.adoc/' +slides | sed 's/^\(.*\)\.adoc$/\1.pdf:\t\1.ps/' + collectionentries() { diff --git a/src/content/en/blog/2020/10/19/feature-flags.adoc b/src/content/en/blog/2020/10/19/feature-flags.adoc index 972f693..8788407 100644 --- a/src/content/en/blog/2020/10/19/feature-flags.adoc +++ b/src/content/en/blog/2020/10/19/feature-flags.adoc @@ -3,7 +3,7 @@ :updatedat: 2020-11-03 :empty: -:slides: link:../../../../slides/2020/10/19/feature-flags.html FIXME +:slides: link:../../../../slide/2020/10/19/feature-flags.pdf :fowler-article: https://martinfowler.com/articles/feature-toggles.html _This article is derived from a {slides}[presentation] on the same subject._ diff --git a/src/content/en/blog/2020/11/14/local-first-review.adoc b/src/content/en/blog/2020/11/14/local-first-review.adoc index f9dd4b0..2036069 100644 --- a/src/content/en/blog/2020/11/14/local-first-review.adoc +++ b/src/content/en/blog/2020/11/14/local-first-review.adoc @@ -2,7 +2,7 @@ :categories: presentation article-review :empty: -:presentation: link:../../../../slides/2020/11/14/local-first.html FIXME +:presentation: link:../../../../slide/2020/11/14/local-first-hype.pdf :reviewed-article: https://martin.kleppmann.com/papers/local-first.pdf _This article is derived from a {presentation}[presentation] given at a Papers diff --git a/src/slides/en b/src/slides/en new file mode 120000 index 0000000..5cbb4c2 --- /dev/null +++ b/src/slides/en @@ -0,0 +1 @@ +../content/en/slide
\ No newline at end of file |