summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 0272edb..2ee9a42 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ dirfail = ( r=$$?; mv -- '$@'{,.bak}; exit $$r; )
all:
$(MAKE) dat/urlkeys.mk
$(MAKE) dat/index.mk
- $(MAKE) dat/pools dat/git
+ $(MAKE) dat/git
fix:
grep -rl '<html><body><h1>503' dat | xargs rm -fv --
@@ -69,10 +69,9 @@ dat/pools.txt: $(addsuffix metadata.txt,$(content-dir)) dat/index.txt
dat/pools: $(download) dat/pools.txt dat/index.txt
rm -rf -- $@ $@.bak
poolify dat/pools.txt dat/index.txt || $(dirfail)
-
-dat/git: $(download) dat/index.txt
+dat/git: dat/pools $(addsuffix readme.txt,$(content-dir)) $(addsuffix metadata.txt,$(content-dir))
rm -rf -- $@ $@.bak
- gitthing dat/git < dat/index.txt || $(dirfail)
+ gitify $@ || $(dirfail)
################################################################################
endif