source:
NEMO/branches/2019/dev_r11078_OSMOSIS_IMMERSE_Nurser/doc/tools/shr_func.sh
@
11609
Last change on this file since 11609 was 11120, checked in by nicolasmartin, 5 years ago | |
---|---|
|
|
File size: 597 bytes |
Line | |
---|---|
1 | #!/bin/sh |
2 | |
3 | clean() { |
4 | ## Not sure if this step is needed, guess latexmk should be able to detect a change |
5 | printf "\t¤ Clean previous build" |
6 | find latex/$1/build -mindepth 1 -prune -exec rm -rf {} \; |
7 | |
8 | ## HTML exports |
9 | #printf ' - possible HTML export' |
10 | #find latex/$1 -type d -name 'html*' -exec rm -r {} \; |
11 | |
12 | echo |
13 | } |
14 | |
15 | build() { |
16 | printf "\t¤ Generation of the PDF format\n" |
17 | latexmk $opts -outdir=../build -cd ./latex/$1/main/$1_manual 1> /dev/null |
18 | [ -f ./latex/$1/build/$1_manual.pdf ] && mv ./latex/$1/build/$1_manual.pdf . |
19 | # cd - > /dev/null |
20 | echo |
21 | } |
Note: See TracBrowser
for help on using the repository browser.