summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 2ee9a42..ad7e53e 100644
--- a/Makefile
+++ b/Makefile
@@ -64,11 +64,11 @@ download += $(content-file)
download: $(download)
.PHONY: download
-dat/pools.txt: $(addsuffix metadata.txt,$(content-dir)) dat/index.txt
+dat/metadata.txt: $(addsuffix metadata.txt,$(content-dir)) dat/index.txt
grep ^ $(foreach c,$(filter %/metadata.txt,$^),'$c') | sed -r -e 's,^dat/content-dir/,,' -e 's,/.*/Public/, ,' -e 's,/metadata\.txt:,/,' -e 's,\s+, ,g' | sort -u > $@
-dat/pools: $(download) dat/pools.txt dat/index.txt
+dat/pools: $(download) dat/metadata.txt dat/index.txt
rm -rf -- $@ $@.bak
- poolify dat/pools.txt dat/index.txt || $(dirfail)
+ poolify dat/metadata.txt dat/index.txt || $(dirfail)
dat/git: dat/pools $(addsuffix readme.txt,$(content-dir)) $(addsuffix metadata.txt,$(content-dir))
rm -rf -- $@ $@.bak
gitify $@ || $(dirfail)