diff options
author | Karl Berry <karl@freefriends.org> | 2010-09-11 23:13:58 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-09-11 23:13:58 +0000 |
commit | 273b76dcd2208b1ec892b19752d928cb5dce2246 (patch) | |
tree | d3dab44f8a9526da9b55507043a08594df70eda2 /Master/texmf-dist/doc/latex/confproc/prepareexample.sh | |
parent | ee1a2bb8d1dd8eef46592f2783f67198507feac7 (diff) |
confproc 0.7 (6aug10)
git-svn-id: svn://tug.org/texlive/trunk@19668 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/confproc/prepareexample.sh')
-rw-r--r-- | Master/texmf-dist/doc/latex/confproc/prepareexample.sh | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/confproc/prepareexample.sh b/Master/texmf-dist/doc/latex/confproc/prepareexample.sh new file mode 100644 index 00000000000..5472c1e415f --- /dev/null +++ b/Master/texmf-dist/doc/latex/confproc/prepareexample.sh @@ -0,0 +1,44 @@ +#!/bin/sh + +wd=`pwd` + +extarget="example" #- set the example folder name + +#-- prepare scripts for building example +mkdir $extarget #- create the folder + +#-- generate the program session files +perl generateswitch.pl<exprogram.csv + +mv ex*.* $extarget/ #- move all other example files into proper folder +mv buildproc* $extarget/ #- move scripts into it +mv buildcppdfpapers* $extarget/ +mv buildpapers* $extarget/ +mv countnbpages.sh $extarget/ +mv generateswitch.pl $extarget/ +mv papersinfo.sh $extarget/ +mv paperssplitpreamble.sh $extarget/ +mv removeLaTeXcmds.sh $extarget/ + +cp -r pictures $extarget/ #- copy pictures into it +cp -r papers $extarget/ #- copy papers into it +cp confproc.cls $extarget/ #- copy the class into it +cp confproc*.ist $extarget/ #- copy the index style into it +cp newapave* $extarget/ #- copy the newapave bib style files + +#-- prepare building scripts and generate needed directories +cd $wd/$extarget +mkdir pdftk_info/ +mv expages.tex papers/ + +cd $wd/$extarget +chmod +x buildproc* +chmod +x generateswitch.pl +chmod +x exportIndividualPDFs.sh +chmod +x papersinfo.sh +chmod +x paperssplitpreamble.sh +cd .. + +#-- build example +cd $wd/$extarget +#./buildproc.sh |