summarylogtreecommitdiffstats
path: root/makefile-system-htslib.patch
blob: bd46ac328d446a0072cba610662dd7bfc493817d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -aur samtools-1.2/Makefile samtools-1.2-patched/Makefile
--- samtools-1.2/Makefile	2015-02-02 16:18:41.000000000 +0100
+++ samtools-1.2-patched/Makefile	2015-06-30 15:48:41.006563956 +0200
@@ -83,7 +83,9 @@
 
 # Adjust $(HTSDIR) to point to your top-level htslib directory
 HTSDIR = ../htslib
+ifneq ("$(wildcard $(HTSDIR)/htslib.mk)","")
 include $(HTSDIR)/htslib.mk
+endif
 HTSLIB = $(HTSDIR)/libhts.a
 BGZIP  = $(HTSDIR)/bgzip