aboutsummaryrefslogtreecommitdiff
path: root/doc/makefile
blob: 4592087034db3340538afe9b8dc87bcd9d7be23f (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
# Makefile for documentation
# $Header: /usr/local/svn/cvs-repositories/numrelcvs/AEIThorns/AHFinderDirect/doc/makefile,v 1.2 2002-09-16 18:08:06 jthorn Exp $

#
# Targets:
# default	latex & dvips everything
# bib		bibtex everything
# clean		remove all machine-generated files
#

#
# Note this Makefile always re-TeXs things, even if the .tex files
# haven't changed (and similarly for dvips); this ensures that changes
# to macros, included stuff from other directories, etc, get "used".
# To implement this, we declare the .dvi and .ps files as "PHONY".
#

###############################################################################

.PHONY	: default
default	: ps

.PHONY	: ps
ps	: dvi
	dvips -f <documentation.dvi >documentation.ps

.PHONY	: dvi
dvi	:
	latex documentation

.PHONY	: bib
bib	:
	bibtex documentation

.PHONY	: clean
clean	:
	-rm *.dvi *.ps *.aux *.bbl *.log *.blg