aboutsummaryrefslogtreecommitdiff
path: root/doc/Makefile
blob: 254862792709d4e6dacb1654a4dc2b96a3724b13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Makefile for documentation
# $Id: Makefile,v 1.1 2001-06-14 14:41:54 jthorn Exp $

#
# 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		: prog

.PHONY	: prog prog.dvi prog.ps
prog	: prog.ps
prog.ps	: prog.dvi
	dvips -f <prog.dvi >prog.ps
prog.dvi: prog.tex
	latex prog