aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-01-13 02:32:21 -0300
committerEuAndreh <eu@euandre.org>2022-01-13 02:32:21 -0300
commitbbaf6bd4357e9c15f344afd9e6e2345e19c5f2dd (patch)
tree558b4cd59116c3a1a76489322e0dfee4969aaa12
parent_plugins/generate-torrent.rb: Remove in favor of Makefile (diff)
downloadeuandre.org-bbaf6bd4357e9c15f344afd9e6e2345e19c5f2dd.tar.gz
euandre.org-bbaf6bd4357e9c15f344afd9e6e2345e19c5f2dd.tar.xz
Makefile.dynamic: add
Diffstat (limited to '')
-rw-r--r--Makefile.dynamic7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.dynamic b/Makefile.dynamic
new file mode 100644
index 0000000..bbcb508
--- /dev/null
+++ b/Makefile.dynamic
@@ -0,0 +1,7 @@
+include torrent-files.mk
+
+torrents: $(torrent-files)
+
+# Missing -c and -w
+$(torrent-files): torrent-files.mk
+ mktorrent -f -v -d -n $@ -o $@ -c '' "$$(echo $@ | sed 's/\.torrent$$//')"