aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-06-03 01:11:32 -0700
committerBryan Newbold <bnewbold@archive.org>2020-06-03 01:11:32 -0700
commit74ad4c4d4c5064dbf6c72e34d4311fbf15e55b93 (patch)
treece43166c9ffb03f9accac283e61127b055f8f150 /Makefile
parent8f0aa515d4dff2537eb9e1ab557da0b067f42250 (diff)
downloadchocula-74ad4c4d4c5064dbf6c72e34d4311fbf15e55b93.tar.gz
chocula-74ad4c4d4c5064dbf6c72e34d4311fbf15e55b93.zip
makefile fixes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 95be590..1c3cca9 100644
--- a/Makefile
+++ b/Makefile
@@ -47,7 +47,7 @@ fetch-sources: ## Download existing snapshot versions of all sources from archiv
rm data/$(SNAPSHOTITEM)_*
data/$(TODAY)/kbart_JSTOR.txt:
- mkdir -p data/
+ mkdir -p data/$(TODAY)
wget -c "https://www.jstor.org/kbart/collections/all-archive-titles?contentType=journals" -O $@.wip
mv $@.wip $@
@@ -101,8 +101,7 @@ data/$(TODAY)/container_stats.json: data/container_export.json
.PHONY: upload-sources
upload-sources: update-sources ## Upload most recent update-able sources to a new IA item
- ia upload --checksum chocula-sources-snapshot-$(TODAY) data/*.txt data/*.tsv data/*.json data/*.txt
- # TODO: ia upload --checksum chocula-sources-$(TODAY) data/*.tsv data/*.csv data/*.json data/*.txt
+ ia upload --checksum chocula-sources-snapshot-$(TODAY) data/*.tsv data/*.json data/*.txt data/*.csv
#.PHONY: upload-snapshot
#upload-snapshot: ## Upload an sqlite snapshot to archive.org