Skip to content
Snippets Groups Projects
Commit d55ce316 authored by Blaise Li's avatar Blaise Li
Browse files

Added symlink to install step.

parent e97f55e8
No related branches found
No related tags found
No related merge requests found
VERSION := $(shell git log | head -1 | cut -d " " -f2) VERSION := $(shell git log | head -1 | cut -d " " -f2)
ifeq ($(PREFIX),) ifeq ($(PREFIX),)
PREFIX := /opt/bioinfo_utils_$(VERSION) PREFIX := /opt/bioinfo_utils
endif endif
install: all install: all
install -d $(PREFIX)/bin install -d $(PREFIX)_$(VERSION)/bin
install run_pipeline $(PREFIX)/bin/. install run_pipeline $(PREFIX)_$(VERSION)/bin/.
install run_pipeline.sh $(PREFIX)/bin/. install run_pipeline.sh $(PREFIX)_$(VERSION)/bin/.
for datatype in sRNA-seq smallRNA-seq RNA-seq GRO-seq PRO-seq Degradome-seq Ribo-seq iCLIP-seq iCLIP; \ for datatype in sRNA-seq smallRNA-seq RNA-seq GRO-seq PRO-seq Degradome-seq Ribo-seq iCLIP-seq iCLIP; \
do \ do \
ln -s $(PREFIX)/bin/run_pipeline.sh $(PREFIX)/bin/run_$${datatype}_pipeline; \ ln -sf $(PREFIX)_$(VERSION)/bin/run_pipeline.sh $(PREFIX)_$(VERSION)/bin/run_$${datatype}_pipeline; \
done done
ln -sf $(PREFIX)_$(VERSION) $(PREFIX)
all: run_pipeline all: run_pipeline
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment