diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-07-02 18:36:07 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-07-02 18:36:07 -0400 |
commit | 71e3ca00e35e26fc7738ed955bb7178fac4c919d (patch) | |
tree | b515646f1242f7c15c7ea9b3ec80f5dc71fda097 /Makefile | |
parent | 3f1ea48182ef0972e3df162a446cbcbbfc1e2a4e (diff) |
Use pools in git
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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 |