diff options
Diffstat (limited to '')
-rw-r--r-- | dynamic.mk | 15 |
1 files changed, 6 insertions, 9 deletions
@@ -1,5 +1,6 @@ .POSIX: +.SUFFIXES: .SUFFIXES: .md .env .html .md.env: @@ -8,18 +9,14 @@ .md.html: sh src/development/genhtml.sh $< > $@ -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$$//')" - include generated.mk + pastebins.env = $(pastebins.md:.md=.env) pastebins.html = $(pastebins.md:.md=.html) -all: $(pastebins.env) $(pastebins.html) +all: $(pastebins.env) $(pastebins.html) $(torrent-files) + +$(torrent-files): + mktorrent -f -v -d -n $@ -o $@ -c '' "$(@D)/`basename $@ .torrent`" |