diff --git a/makefile b/makefile index ea11bd8..e4f3eaa 100644 --- a/makefile +++ b/makefile @@ -1,11 +1,16 @@ # Produce standard tools tarballs using linuxbrew +# Customize the variables as desired + EXPORTDIR = /shared INSTALLDIR = /opt/TundraWare TOOLS = tools -TOOLSDIR = ${INSTALLDIR}/${TOOLS} +MYTOOLS = "emacs joe htop nload nmap screen the_silver_searcher tree vim" -BREW = ${TOOLSDIR}/bin/brew +# Nothing here should need changing + +TOOLSDIR = ${INSTALLDIR}/${TOOLS} +BREW = ${TOOLSDIR}/bin/brew -v DATESTAMP = $(shell date +%Y%m%d) # Get latest linuxbrew @@ -25,7 +30,7 @@ full-build: echo "Make sure you OS autoconf, automake, and perl installed!" echo 'Make sure the bootstrap is installed at $TOOLSDIR' - ${BREW} install emacs joe htop nload nmap screen the_silver_searcher tree vim + ${BREW} install ${MYTOOLS} full-release: tidyup cd ${INSTALLDIR} && mv -v ${TOOLS} ${TOOLS}-full-${DATESTAMP}