forked from stedt-project/printutils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnightlyExtras.sh
executable file
·33 lines (33 loc) · 1.24 KB
/
nightlyExtras.sh
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
#!/bin/bash -x
source ~/.bashrc
date
set verbose
DATE=`date "+%Y-%m-%d"`
cd ~/printutils
git pull -v
# was: svn up
#
rm ~/printutils/disExperiment1/tex/*
cd ~/printutils/bib
./makeRefs.sh > ~/printutils/extras.log 2>&1
cd ~/printutils/frontmatter
./makeFrontMatter.sh 1col
cp ~/printutils/disExperiment1/tex/frontmatter1col.pdf ~stedt/public_html/dissemination/frontmatter1col$DATE.pdf
#
rm ~/printutils/disExperiment1/tex/*
cd ~/printutils/bib
./makeRefs.sh > ~/printutils/extras.log 2>&1
cd ~/printutils/disExperiment1
# extract comparanda and footnotes
cd ~/printutils/disExperiment1/footnotes
time ./comp_extractor.sh >> ~/printutils/extras.log 2>&1
time ./fn_extractor.sh >> ~/printutils/extras.log 2>&1
cp ~/printutils/disExperiment1/footnotes/comp_wrapper.pdf ~stedt/public_html/dissemination/comparanda$DATE.pdf
cp ~/printutils/disExperiment1/footnotes/fn_wrapper.pdf ~stedt/public_html/dissemination/footnotes$DATE.pdf
# extract prettified protoforms
cd ~/printutils/disExperiment1/protoforms
time ./pforms_extractor.sh >> ~/printutils/extras.log 2>&1
cp ~/printutils/disExperiment1/protoforms/pforms_wrapper.pdf ~stedt/public_html/dissemination/protoforms$DATE.pdf
# copy log
cp ~/printutils/extras.log ~stedt/public_html/dissemination/extras$DATE.log
date