aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-01-11 15:52:28 -0300
committerEuAndreh <eu@euandre.org>2022-01-11 15:52:28 -0300
commit83aae38bd1b73fb27a816f2eaeb137f5add8c614 (patch)
tree6a1a7ed3050c6c60c30936620488c0d578d791bc /Makefile
parent_plugins/generate-media-files.rb: Remove in favor of Makefile (diff)
downloadeuandre.org-83aae38bd1b73fb27a816f2eaeb137f5add8c614.tar.gz
euandre.org-83aae38bd1b73fb27a816f2eaeb137f5add8c614.tar.xz
_plugins/generate-torrent.rb: Remove in favor of Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 12 insertions, 4 deletions
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