Skip to content
Snippets Groups Projects
Select Git revision
  • develop
  • master default protected
  • PBdocfixes
  • rce
  • docker
  • harmopt
  • X-SEGV
  • asTbl
  • wFF
  • nnxpl
  • zotf
  • toolsdoc
  • help
  • trap
  • fix-sort
  • sepckfn
  • systest
  • noshell
  • notfound
  • sutd
  • ugperl
  • v1.5.5
22 results

build.sh

Blame
  • build.sh 682 B
    #!/bin/sh
    set -x -e
    
    # programs installed
    # chipcor chipextract chipcenter chippeak chippart chipscore bed2bed_display bed2sga compactsga countsga featreplace filter_counts sga2bed sga2wig
    # check_bed.pl chr_replace_sga.pl eland2sga.pl fetch_sga.pl fps2sga.pl gff2sga.pl partit2bed.pl partit2gff.pl partit2sga.pl sga2fps.pl sga2gff.pl sga2wigSmooth_FS.pl
    
    
    # Fix math round compilation issue
    sed -i 's@\((LDFLAGS).*\)@\1 -lm@' tools/Makefile
    export DESTDIR="${PREFIX}/"
    make clean
    make progs
    cd tools/
    make
    cd ..
    make install
    #Fix Perl bang path
    sed -i 's@#!.*perl@#!/usr/bin/env perl@' tools/*.pl
    install tools/*.pl $DESTDIR/bin/
    make install-man
    make install-dat
    make install-doc