arq5x / lumpy-sv

lumpy: a general probabilistic framework for structural variant discovery
MIT License
309 stars 118 forks source link

how to install lumpy-sv within a Makefile #265

Open arkyl opened 6 years ago

arkyl commented 6 years ago

Hi, This is perhaps not a question particularly for lumpy but help would be really appreciated. I can install lumpy using shell command: cd lumpy-sv && export ZLIB_PATH="/usr/lib/x86_64-linux-gnu/" && make.

However, when I tried to include this line inside a Makefile, and install lumpy through Makefile I got the following error:

configure.ac:26: warning: AC_INIT: not a literal: make1: .... cd lib/htslib && \ ./configure --disable-bz2 --disable-lzma --enable-libcurl ./configure: 4: ./configure: 1.4: not found ./configure: 30: ./configure: Syntax error: Unterminated quoted string

It seems that the configure executable is not generated successfully. I guess it's the grammar difference between shell and make that cause the problem in the line of the lumpy Makefile: htslib: $(shell cd lib/htslib && autoreconf)

Any idea on how to solve this? Thanks a lot!

Yue