From 74ad4c4d4c5064dbf6c72e34d4311fbf15e55b93 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 3 Jun 2020 01:11:32 -0700 Subject: makefile fixes --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3