summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-07-02 18:36:07 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-07-02 18:36:07 -0400
commit71e3ca00e35e26fc7738ed955bb7178fac4c919d (patch)
treeb515646f1242f7c15c7ea9b3ec80f5dc71fda097 /Makefile
parent3f1ea48182ef0972e3df162a446cbcbbfc1e2a4e (diff)
Use pools in git
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