biod / sambamba

Tools for working with SAM/BAM data
http://thebird.nl/blog/D_Dragon.html
GNU General Public License v2.0
563 stars 105 forks source link

Make install error #459

Closed Stikus closed 2 years ago

Stikus commented 3 years ago

Hello, I'm trying to utilize make install part of Makefile and get this error.

install -m 0755 bin/sambamba /bin
install: cannot stat 'bin/sambamba': No such file or directory
make: *** [install] Error 1
Makefile:112: recipe for target 'install' failed

Looks like this line is causing problem:

install:
    install -m 0755 bin/sambamba $(prefix)/bin

According to code and my observations your binary is called:

OUT         = bin/sambamba-$(shell cat VERSION)

Maybe bin/sambamba should be modified to $(OUT)?

install:                                    
        install -m 0755 $(OUT) $(prefix)/bin

With this change everything is working for me as I see.

pjotrp commented 3 years ago

Thanks, will fix!

pjotrp commented 2 years ago

Fixed with 09ffba0822b2636d7d9882d954884cee8c1480c3