From 0906153cf1f86c93af0919118779c19132bca69b Mon Sep 17 00:00:00 2001 From: Blaise Li <blaise.li__git@nsup.org> Date: Wed, 20 Nov 2019 16:27:48 +0100 Subject: [PATCH] Fix makefile. Symbolic link update was wrong. --- singularity/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/singularity/Makefile b/singularity/Makefile index 0b6cb08..95ebca4 100644 --- a/singularity/Makefile +++ b/singularity/Makefile @@ -4,8 +4,9 @@ ifeq ($(PREFIX),) PREFIX := /opt/bioinfo_utils endif +all: run_pipeline -install: all +install: run_pipeline install -d $(PREFIX)_$(VERSION)/bin install run_pipeline $(PREFIX)_$(VERSION)/bin/. install run_pipeline.sh $(PREFIX)_$(VERSION)/bin/. @@ -13,9 +14,7 @@ install: all do \ ln -sf $(PREFIX)_$(VERSION)/bin/run_pipeline.sh $(PREFIX)_$(VERSION)/bin/run_$${datatype}_pipeline; \ done - ln -sf $(PREFIX)_$(VERSION) $(PREFIX) - -all: run_pipeline + ln -sfn $(PREFIX)_$(VERSION) $(PREFIX) # Should depend on the rest of the repository. run_pipeline: run_pipeline.def -- GitLab