install languages before other tools, fix syntax error in pip invocation
1 parent a735dad commit 9832d1d783cac020c74e9240cc810abdbbdb8d15
@tundra tundra authored on 31 Dec 2017
Showing 1 changed file
View
10
makefile
 
EXPORTDIR = /shared
INSTALLDIR = /opt/TundraWare
TOOLS = tools
MYTOOLS = perl python emacs joe htop nload nmap screen the_silver_searcher tree vim
LANGS = perl python
MYTOOLS = emacs joe htop nload nmap screen the_silver_searcher tree vim
PIPMODULES = ansible pew pew[pythonz]
 
# Nothing below here should need changing
 
 
full-build:
echo "Make sure your OS autoconf, automake, and perl are installed!"
echo 'Make sure the bootstrap is installed at $TOOLSDIR'
${BREW} install ${MYTOOLS}
${BREW} install ${LANGS}
ln -nfs ${INSTALLDIR}/${TOOLS}/bin/python2 ${INSTALLDIR}/${TOOLS}/bin/python
ln -nfs ${INSTALLDIR}/${TOOLS}/bin/pip2 ${INSTALLDIR}/${TOOLS}/bin/pip
pip install $PIPMODULES -U --ignore-installed
pip install ${PIPMODULES} -U --ignore-installed
${BREW} install ${MYTOOLS}
 
full-release: tidyup
cd ${INSTALLDIR} && mv -v ${TOOLS} ${TOOLS}-${DATESTAMP}
cd ${INSTALLDIR} && tar -czvf ${EXPORTDIR}/${TOOLS}-${DATESTAMP}.tar.gz ${TOOLS}-${DATESTAMP}