From 83aae38bd1b73fb27a816f2eaeb137f5add8c614 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 11 Jan 2022 15:52:28 -0300 Subject: _plugins/generate-torrent.rb: Remove in favor of Makefile --- Makefile | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ffd427e..2bdf4bd 100644 --- a/Makefile +++ b/Makefile @@ -31,9 +31,14 @@ 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) + $(podcasts.ogg) \ + $(screencasts.webm) + torrents = $(torrents-in:=.torrent) derived-assets = \ @@ -56,9 +61,9 @@ torrents-files.txt: $(torrents-in) torrent-files.mk: torrents-files.txt printf 'torrent-files = \\\n' > $@ - sed -e 's/^/\t/' -e 's/$$/.torrent \\/' < torrents.txt >> $@ + sed -e 's/^/\t/' -e 's/$$/.torrent \\/' < torrents-files.txt >> $@ printf '\n\n' >> $@ - awk '{ printf "%s.torrent: %s\n", $$1, $$1 }' torrents.txt >> $@ + awk '{ printf "%s.torrent: %s\n", $$1, $$1 }' torrents-files.txt >> $@ $(torrents): torrent-files.mk $(MAKE) -f Makefile.dynamic torrents @@ -80,7 +85,10 @@ check: dev-check: check clean: - rm -rf public/ $(derived-assets) + rm -rf \ + public/ \ + $(derived-assets) \ + torrents-files.txt torrent-files.mk public: jekyll-deps jekyll build -- cgit v1.2.3