diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 40 |
1 files changed, 3 insertions, 37 deletions
@@ -28,26 +28,11 @@ lilypond = \ favicons = static/lord-favicon.png static/lord-favicon.ico favicon.ico -podcasts.flac = \ - resources/podcasts/2020-12-19-a-test-entry.flac -podcasts.ogg = $(podcasts.flac:.flac=.ogg) - -screencasts.webm = \ - resources/screencasts/2021-02-07-autoqemu-automate-installation-and-ssh-setup-of-iso-os-images.webm - -torrents-in = \ - $(podcasts.flac) \ - $(podcasts.ogg) \ - $(screencasts.webm) - -torrents = $(torrents-in:=.torrent) - derived-assets = \ $(pastebins) \ $(lilypond) \ $(favicons) \ $(podcasts.ogg) \ - $(torrents) \ TODOs.html \ @@ -57,36 +42,18 @@ all: public dynamic dynamic: generated.mk $(MAKE) -f dynamic.mk all -JEKYLL_COMPAT: deps.mk files.mk - sh src/development/JEKYLL_COMPAT/copy-content.sh - generated.mk: ALWAYS JEKYLL_COMPAT sh src/development/dynmake.sh > $@ +JEKYLL_COMPAT: + sh src/development/JEKYLL_COMPAT/copy-content.sh + # NOOP rule to assert that the targets that depend on it are # always considered stale. ALWAYS: $(lilypond.pdf): $(lilypond.midi) - -torrent-files.txt: $(torrents-in) - echo $(torrents-in) | tr ' ' '\n' > $@ - -files.mk: torrent-files.txt - printf '' > $@ - printf 'torrent-files = \\\n' >> $@ - sed -e 's/^/\t/' -e 's/$$/.torrent \\/' < torrent-files.txt >> $@ - printf '\n\n' >> $@ - -deps.mk: torrent-files.txt - printf '' > $@ - awk '{ printf "%s.torrent: %s\n", $$1, $$1 }' torrent-files.txt >> $@ - -$(torrents): files.mk deps.mk - $(MAKE) generated.mk - $(MAKE) -f dynamic.mk torrents - static/lord-favicon.png: static/lord-favicon.svg inkscape -o $@ -w 2048 -h 2048 -b white static/lord-favicon.svg @@ -115,7 +82,6 @@ clean: rm -rf \ public/ .jekyll-cache \ $(derived-assets) \ - torrent-files.txt files.mk deps.mk \ src/content/ generated.mk \ |