aboutsummaryrefslogtreecommitdiff
path: root/dynamic.mk
diff options
context:
space:
mode:
Diffstat (limited to 'dynamic.mk')
-rw-r--r--dynamic.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/dynamic.mk b/dynamic.mk
new file mode 100644
index 0000000..89791c9
--- /dev/null
+++ b/dynamic.mk
@@ -0,0 +1,7 @@
+include files.mk
+include deps.mk
+
+torrents: $(torrent-files)
+
+$(torrent-files): files.mk deps.mk
+ mktorrent -f -v -d -n $@ -o $@ -c '' "$$(echo $@ | sed 's/\.torrent$$//')"