forked from dankelley/dal-oce-thesis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
31 lines (28 loc) · 889 Bytes
/
Makefile
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
LATEX=pdflatex
#$(LATEX)=$(LATEX)
DOC=mythesis
all: FORCE
$(LATEX) -draftmode $(DOC)
bibtex $(DOC)
$(LATEX) -draftmode $(DOC)
$(LATEX) -draftmode $(DOC)
$(LATEX) $(DOC)
FORCE:
VERSION=0.9
LIB=ocethesis.cls ocethesis.bst ocethesisbib.sty Makefile README.txt README.pdf
EXAMPLE=$(DOC).tex chapter1.tex appendix1.tex abstract.tex acknowledgment.tex literature.bib symbols.tex figure1.pdf figure1.ps
FILES=$(LIB) $(EXAMPLE)
ZIP=ocethesis_$(VERSION)
dist:
rm -rf $(ZIP)
rm -f $(ZIP).zip
mkdir $(ZIP)
cp $(FILES) $(ZIP)
zip -r $(ZIP).zip $(ZIP)
rm -rf $(ZIP)
-echo "Please do cp $(ZIP).zip ocethesis.php ../GCocean-web/ocethesis"
clean:
-rm *.aux $(DOC).lot $(DOC).lof $(DOC).toc $(DOC).dvi $(DOC).blg $(DOC).bbl *.log $(DOC).out $(DOC).ist $(DOC).glo
-rm *~
#install:
# scp ocethesis_*.zip ocethesis.php gcocean@graduatecoordinator.oceanography.dal.ca:public_www/ocethesis