forked from inarts/Paper
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.sh
executable file
·34 lines (27 loc) · 1.42 KB
/
build.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
34
#!/bin/bash
#===============================================================================
#/**
# * LaTeX paper build file.
# * @author : Alexander willner ([email protected])
# * @version : $Id: build.sh 34 2010-03-17 02:57:55Z willner $
# */
#===============================================================================
#===============================================================================
# Configuration
#===============================================================================
source ./build.config.sh
source ./$DIR_BLD/build.lib.sh
[ -f "${FILE_GEN_BIB}" ] && cp "${FILE_GEN_BIB}" "global-do-not-edit.bib"
[ -f "${FILE_GEN_ACRO}" ] && cp "${FILE_GEN_ACRO}" "global-do-not-edit.acro.tex"
[ -f "${FILE_GEN_AUTHORS}" ] && cp "${FILE_GEN_AUTHORS}" "global-do-not-edit.authors.tex"
[ -d "${DIR_GEN_SPELL}" ] && ln -sf "${DIR_GEN_SPELL}/".aspell.* "${DIR_RES}/"
#===============================================================================
#===============================================================================
# Parameter checking
#===============================================================================
checkParameter $*
#===============================================================================
#===============================================================================
# Main program
#===============================================================================
doDefaultProject