| 1 |
# harvard family of bibliographic styles |
| 2 |
# Copyright 1994 - Peter Williams [email protected] |
| 3 |
# |
| 4 |
# This work may be distributed and/or modified under the |
| 5 |
# conditions of the LaTeX Project Public License, either version 1.3 |
| 6 |
# of this license or (at your option) any later version. |
| 7 |
# The latest version of this license is in |
| 8 |
# http://www.latex-project.org/lppl.txt |
| 9 |
# and version 1.3 or later is part of all distributions of LaTeX |
| 10 |
# version 2005/12/01 or later. |
| 11 |
# |
| 12 |
# This work has the LPPL maintenance status `maintained'. |
| 13 |
# |
| 14 |
# The Current Maintainers of this work are Peter Williams and Thorsten Schnier. |
| 15 |
# |
| 16 |
# This work consists of all files listed in manifest.txt. |
| 17 |
# |
| 18 |
# Licence notice added on behalf of Peter Williams and Thorsten Schnier |
| 19 |
# by Clea F. Rees 2009/01/30. |
| 20 |
|
| 21 |
prefix=/opt/TeX |
| 22 |
texlib=$(prefix)/lib/texmf |
| 23 |
bstdir=$(texlib)/bibtex/bst/harvard |
| 24 |
stydir=$(texlib)/tex/latex/local |
| 25 |
docdir=$(texlib)/bibtex/doc/harvard |
| 26 |
htmldir=/people/archsci/archsci-www/utils/latex2html/styles |
| 27 |
|
| 28 |
BSTS=agsm.bst dcu.bst jmr.bst jphysicsB.bst kluwer.bst nederlands.bst apsr.bst |
| 29 |
|
| 30 |
all: |
| 31 |
|
| 32 |
harvard.ps: harvard.dvi |
| 33 |
dvips harvard |
| 34 |
|
| 35 |
harvard.dvi: harvard.tex harvard.bbl |
| 36 |
latex harvard |
| 37 |
latex harvard |
| 38 |
|
| 39 |
harvard.bbl: harvard.aux harvard.bib |
| 40 |
bibtex harvard |
| 41 |
|
| 42 |
harvard.aux: harvard.tex |
| 43 |
latex harvard |
| 44 |
|
| 45 |
install: harvard.sty harvard.perl $(BSTS) |
| 46 |
mkdir -p $(bstdir) |
| 47 |
mkdir -p $(stydir) |
| 48 |
mkdir -p $(htmldir) |
| 49 |
cp $(BSTS) $(bstdir) |
| 50 |
cp harvard.sty $(stydir) |
| 51 |
cp harvard.perl $(htmldir) |
| 52 |
|
| 53 |
install_doc: harvard.tex harvard.bib |
| 54 |
mkdir -p $(docdir) |
| 55 |
cp doc_Makefile $(docdir)/Makefile |
| 56 |
cp harvard.tex $(docdir) |
| 57 |
cp harvard.bib $(docdir) |
| 58 |
|
| 59 |
clean: |
| 60 |
rm -f harvard.dvi harvard.aux harvard.bbl harvard.log harvard.blg |