summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/harvard/Makefile
blob: d24bdf4604f179cd627062e8cddc9231e48128c0 (plain)
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
35
36
37
38
39
40
41
42
43
# harvard family of bibliographic styles
# Copyright 1994 - Peter Williams peterw@archsci.arch.su.edu.au

prefix=/opt/TeX
texlib=$(prefix)/lib/texmf
bstdir=$(texlib)/bibtex/bst/harvard
stydir=$(texlib)/tex/latex/local
docdir=$(texlib)/bibtex/doc/harvard
htmldir=/people/archsci/archsci-www/utils/latex2html/styles

BSTS=agsm.bst dcu.bst jmr.bst jphysicsB.bst kluwer.bst nederlands.bst apsr.bst

all:

harvard.ps: harvard.dvi
	dvips harvard

harvard.dvi: harvard.tex harvard.bbl
	latex harvard
	latex harvard

harvard.bbl: harvard.aux harvard.bib
	bibtex harvard

harvard.aux: harvard.tex
	latex harvard

install: harvard.sty harvard.perl $(BSTS)
	mkdir -p $(bstdir)
	mkdir -p $(stydir)
	mkdir -p $(htmldir)
	cp $(BSTS) $(bstdir)
	cp harvard.sty $(stydir)
	cp harvard.perl $(htmldir)

install_doc: harvard.tex harvard.bib
	mkdir -p $(docdir)
	cp doc_Makefile $(docdir)/Makefile
	cp harvard.tex $(docdir)
	cp harvard.bib $(docdir)

clean:
	rm -f harvard.dvi harvard.aux harvard.bbl harvard.log harvard.blg