From d4138e68e7160ec1242c08da83c58e2d9097f222 Mon Sep 17 00:00:00 2001 From: Mohammad Akhlaghi Date: Mon, 26 Nov 2018 20:00:15 +0000 Subject: Making lock file directory We had forgot to add the rule to build the lock file directory for downloading data. This has been corrected. --- reproduce/src/make/download.mk | 2 +- reproduce/src/make/initialize.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'reproduce/src') diff --git a/reproduce/src/make/download.mk b/reproduce/src/make/download.mk index 332392b..bc6d4cd 100644 --- a/reproduce/src/make/download.mk +++ b/reproduce/src/make/download.mk @@ -51,7 +51,7 @@ # series. We thus use the `flock' program to tie/lock the downloading # process with a file and make sure that only one downloading event is in # progress at every moment. -$(indir):; mkdir $@ +$(indir) $(lockdir):; mkdir $@ inputdatasets = $(foreach i, wfpc2, $(indir)/$(i).fits) $(inputdatasets): $(indir)/%.fits: | $(indir) $(lockdir) diff --git a/reproduce/src/make/initialize.mk b/reproduce/src/make/initialize.mk index 61f28cf..3453d4e 100644 --- a/reproduce/src/make/initialize.mk +++ b/reproduce/src/make/initialize.mk @@ -34,10 +34,10 @@ # parallel. Also, some programs may not be thread-safe, therefore it will # be necessary to put a lock on them. This pipeline uses the `flock' # program to achieve this. -indir = $(BDIR)/inputs texdir = $(BDIR)/tex srcdir = reproduce/src lockdir = $(BDIR)/locks +indir = $(BDIR)/inputs texbdir = $(texdir)/build tikzdir = $(texbdir)/tikz mtexdir = $(texdir)/macros -- cgit v1.2.1