Skip to content

Commit

Permalink
rework on bin programs definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
shajoezhu committed Nov 17, 2019
1 parent d467e4e commit e72ecbb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ EXTRA_DIST = bootstrap \
COMPILEDATE = $(shell date -u | sed -e "s/ /-/g")
distdir = $(PACKAGE)-$(VERSION)

bin_PROGRAMS = dEploid dEploid_dbg utilities
bin_PROGRAMS = dEploid dEploid_dbg

man1_MANS = docs/_build/man/dEploid.1

Expand Down Expand Up @@ -87,7 +87,6 @@ clean-local: clean-local-check
clean-local-check:
-rm -rf src/*.gc* tests/unittest/*.gc* src/*.gcov

utilities_SOURCES = utilities/dataExplore.r utilities/interpretDEploid.r
utilities:
utilities: utilities/dataExplore.r utilities/interpretDEploid.r
sed -i'.bak' -e '/#!\/usr\/bin\/env Rscript/d' -e '/rm(list=ls())/d' utilities/dataExplore.r ; echo "#!/usr/bin/env Rscript" > tmpTxt; echo "rm(list=ls()); dEploidRootDir=\"$(PWD)\"" >> tmpTxt ; cat utilities/dataExplore.r >> tmpTxt ; mv tmpTxt utilities/dataExplore.r; chmod a+x utilities/dataExplore.r;
sed -i'.bak' -e '/#!\/usr\/bin\/env Rscript/d' -e '/rm(list=ls())/d' utilities/interpretDEploid.r; echo "#!/usr/bin/env Rscript" > tmpTxt; echo "rm(list=ls()); dEploidRootDir=\"$(PWD)\"" >> tmpTxt ; cat utilities/interpretDEploid.r >> tmpTxt ; mv tmpTxt utilities/interpretDEploid.r; chmod a+x utilities/interpretDEploid.r

0 comments on commit e72ecbb

Please sign in to comment.