From 12b22256f2430dbdbb59a6119eb7732ba942fca1 Mon Sep 17 00:00:00 2001 From: Daniel Joseph Barnhart Clark Date: Thu, 24 Aug 2006 03:03:41 +0000 Subject: EncapPackages: Restructuring directory layout git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2102 ce84e21b-d406-0410-9b95-82705330c041 --- encap/tools/makeself/Makefile | 60 -------------------------------- encap/tools/makeself/makeself-2.1.4.ep | 63 ---------------------------------- 2 files changed, 123 deletions(-) delete mode 100644 encap/tools/makeself/Makefile delete mode 100644 encap/tools/makeself/makeself-2.1.4.ep (limited to 'encap/tools/makeself') diff --git a/encap/tools/makeself/Makefile b/encap/tools/makeself/Makefile deleted file mode 100644 index fc62cecc2..000000000 --- a/encap/tools/makeself/Makefile +++ /dev/null @@ -1,60 +0,0 @@ -# $Id$ - -.PHONY : all install clean uninstall encaps rename -.SUFFIXES : -.SUFFIXES : .ep .installed .packaged - -BASEDIR = /usr/local -ENCAPDIR = ${BASEDIR}/encap -export ENCAPDIR -EPKG = ${BASEDIR}/bin/epkg -export EPKG -MKENCAP = ${BASEDIR}/bin/mkencap -export MKENCAP - -MAKESELF = makeself-2.1.4 - -.ep.installed : # Clean, compile and install an encap package - @printf "***** START .ep.installed for |$*| ***** \n" - ( ${EPKG} -q -r ${ENCAPDIR}/$* || true ) - ( rm -rf ${ENCAPDIR}/$* || true ) - ( ${MKENCAP} -m /usr/local/bin/m4 -b -DUP $*.ep || true ) > $*.log 2>&1 - ( ${MKENCAP} -m /usr/local/bin/m4 -b -T $*.ep || true ) >> $*.log 2>&1 - ( ${MKENCAP} -m /usr/local/bin/m4 -b -CBI $*.ep ) >> $*.log 2>&1 - ${EPKG} -q -i ${ENCAPDIR}/$* - test -h ${BASEDIR}/var/encap/$* - touch $*.installed - @printf "***** STOP .ep.installed for |$*| ***** \n" - -.installed.packaged : # Create .tar.gz encap packages for distribution - @printf "***** START .installed.packaged for |$*| ***** \n" - ( rm ${ENCAPDIR}/$*-*.tar.gz || true ) - ( cd ${ENCAPDIR} && ${MKENCAP} -e $* || true ) - cd ${ENCAPDIR} && ${MKENCAP} -c $* - mv ${ENCAPDIR}/$*-encap-*.tar.gz . - touch $*.packaged - @printf "***** STOP .installed.packaged for |$*| ***** \n" - -all : - ( $(MAKE) install > make.log 2>&1 && $(MAKE) encaps >> make.log 2>&1 ) & - -install : ${EPKG} ${MKENCAP} ${MAKESELF}.installed - -encaps : ${EPKG} ${MKENCAP} ${MAKESELF}.packaged - -rename : encaps - test "$${OS}x" != "x" - for EARCHIVE in `ls *-encap-*.tar.gz`; do \ - mv $${EARCHIVE} `printf $${EARCHIVE} | awk -F- '{$$NF = "OSDIST.tar.gz" ; print}' | sed s:\ :-:g | sed s:OSDIST:\$${OS}:g` ; \ - done - -clean : - ( rm *.log || true ) - ( rm *.packaged || true ) - ( rm *.gz || true ) - ( rm *~ || true ) - -uninstall : clean - ( rm *.installed || true ) - ( ${EPKG} -q -r ${ENCAPDIR}/makeself* || true ) - ( rm -rf ${ENCAPDIR}/makeself* || true ) diff --git a/encap/tools/makeself/makeself-2.1.4.ep b/encap/tools/makeself/makeself-2.1.4.ep deleted file mode 100644 index 8e8c5f2b5..000000000 --- a/encap/tools/makeself/makeself-2.1.4.ep +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - -: - - - -: - - - -test -d ${ENCAP_SOURCE} || mkdir ${ENCAP_SOURCE} -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME} || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME} -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/bin || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/bin -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/man || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/man -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/man/man1 || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/man/man1 -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share/doc || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share/doc -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share/doc/makeself || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share/doc/makeself -if [ -d ${builddir}/${ENCAP_PKGNAME}.run ]; then rmdir ${builddir}/${ENCAP_PKGNAME}.run; fi -cp ${builddir}/* ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share/doc/makeself -mv ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share/doc/makeself/*.sh ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/bin -mv ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share/doc/makeself/*.1 ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/man/man1 - - - -: - - - - - -# Make "this encap is installed" sentinal file available in /usr/local/var/encap -test -d var || mkdir var -test -d var/encap || mkdir var/encap -touch var/encap/${ENCAP_PKGNAME} - - - -description makeself - Make self-extractable archives on Unix - - - -- cgit v1.2.3-1-g7c22