Commit d55ce316 authored by Blaise Li's avatar Blaise Li
Browse files

Added symlink to install step.

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