aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-10-17 16:17:03 -0700
committerBryan Newbold <bnewbold@archive.org>2020-10-17 16:17:03 -0700
commit10a0eea1c1e23e8e85bf355f7c916c5ac1777af8 (patch)
tree06eba2821df41e95d12462fef2c49807daecb7d5 /Makefile
parent495c82bf5da53eabc544a36d2128d3d305223702 (diff)
downloadfatcat-scholar-10a0eea1c1e23e8e85bf355f7c916c5ac1777af8.tar.gz
fatcat-scholar-10a0eea1c1e23e8e85bf355f7c916c5ac1777af8.zip
make issue-db: try to fix lazy dep building
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index ff15274..f490630 100644
--- a/Makefile
+++ b/Makefile
@@ -64,16 +64,13 @@ update-i18n: ## Re-extract and compile translation files
pipenv run pybabel update -i extra/i18n/web_interface.pot -d fatcat_scholar/translations
pipenv run pybabel compile -d fatcat_scholar/translations
-data/$(TODAY):
+data/$(TODAY)/sim_collections.tsv:
mkdir -p $@
-
-data/$(TODAY)/sim_collections.tsv: data/$(TODAY)
- mkdir -p data/$(TODAY)
ia search "collection:periodicals collection:sim_microfilm mediatype:collection" --itemlist | rg "^pub_" > $@.wip
mv $@.wip $@
-data/$(TODAY)/sim_items.tsv: data/$(TODAY)
- mkdir -p data/$(TODAY)
+data/$(TODAY)/sim_items.tsv:
+ mkdir -p $@
ia search "collection:periodicals collection:sim_microfilm mediatype:texts" --itemlist | rg "^sim_" > $@.wip
mv $@.wip $@