GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — oofem/do_release at master · BlueCode2019/oofem Expand file tree/ Copy pathdo_releaseMore file actions 97 lines (89 loc) · 1.8 KB / Copy pathdo_releaseFile metadata and controls97 lines (89 loc) · 1.8 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 BACKUP_NAME=oofem.tar.gz DOC_RELEASE_FILES="elementlibmanual/elementlibmanual.pdf paper-actap/paper-actap.pdf extractorInput/extractorInput.pdf matlibmanual/matlibmanual.pdf oofemInput/oofemInput.pdf programmer/programmer.pdf theorymanual/theorymanual.pdf" DOC_DIRS="doc/elementlibmanual doc/paper-actap doc/extractorInput doc/matlibmanual doc/oofemInput doc/programmer doc/theorymanual" if [ -z $1 ] then echo usage: do_release release_name exit fi if [ -f "$1.tar.gz" ] then echo error: $1.tar.gz already exist exit fi if [ -d "$1" ] then echo error: $1 dir already exist exit fi echo ========================================= echo Building Release $1 echo ========================================= make backup if [ ! -f $BACKUP_NAME ] then echo error: Backup file $BACKUP_NAME does not exist exit fi mkdir $1 cd $1 tar xzvf ../$BACKUP_NAME # #<RESTRICTED_SECTION> if [ -d ./hmworks ] then echo removing hmworks directory rm -fr ./hmworks fi FILES=`find .` for i in $FILES do if [ ! -d "$i" ] then echo processing ..... $i perl ../release_filter.pl $i fi done #release filter changes the permissions #make configure script executable if [ -f ./configure ] then chmod a+x ./configure fi # # generate documentation # echo building documentation cd doc make pdf # do not include doc/makefile in release rm makefile # copy doc files to top doc directory for i in $DOC_RELEASE_FILES do if [ ! -f $i ] then echo echo error: File $i missing fi cp $i . done # generate reference manual # cd refman; make html; cd .. # cd .. #remove doc sources rm -fr $DOC_DIRS # # generate refman of OOFEMlib # cd oofemlib/doc/refman; pwd; make html; cd ../../.. cd .. # # #</RESTRICTED_SECTION> # tar czvf $1.tar.gz $1 rm -fr $1 echo ========================================= echo Release $1.tar.gz created echo ========================================= |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |