aboutsummaryrefslogtreecommitdiff
path: root/Makefile.dynamic
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.dynamic')
-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$$//')"