summaryrefslogtreecommitdiff
path: root/doc/Makefile.in
blob: eb0cae00e7686a7bb6539a04e75caf4440944de4 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#
# "$Id: Makefile.in 666 2006-04-04 22:46:25Z mike $"
#
#   Makefile for the ESP Package Manager (EPM) documentation.
#
#   Copyright 1999-2006 by Easy Software Products, all rights reserved.
#
#   This program is free software; you can redistribute it and/or modify
#   it under the terms of the GNU General Public License as published by
#   the Free Software Foundation; either version 2, or (at your option)
#   any later version.
#
#   This program is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU General Public License for more details.
#

#
# Programs...
#

CC	=	@CC@
HTMLDOC	=	@HTMLDOC@
NROFF	=	@NROFF@
RM	=	@RM@ -f


#
# Man page generation...
#

.SUFFIXES:	.html .man
.man.html:
	$(RM) $@
	./mantohtml $< >$@


#
# Targets...
#

MANPAGES	=	epm.html epminstall.html mkepmlist.html setup.html
HTMLFILES	=	preface.html 1-intro.html 2-building.html \
			3-packaging.html 4-advanced.html 5-examples.html \
			a-license.html b-manpages.html c-reference.html \
			d-relnotes.html $(MANPAGES)

all:	$(MANPAGES)	epm-book.html

clean:
	$(RM) epm-book.html $(MANPAGES) mantohtml mantohtml.o

epm-book.html:	$(HTMLFILES) epm-book.book
	$(HTMLDOC) --batch epm-book.book -f epm-book.html

mantohtml:	mantohtml.o
	$(CC) -o $@ mantohtml.o

$(MANPAGES):	mantohtml


#
# End of "$Id: Makefile.in 666 2006-04-04 22:46:25Z mike $".
#