summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
blob: bf979c874471ff0fe9bec592235198b6e6f6f27d (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
## Process this file with automake to create Makefile.in.

## Makefile for GNU make documentation.
## Copyright 2002 Free Software Foundation, Inc.

TEXI2HTML = texi2html
TEXI2HTML_FLAGS = -split_chapter

info_TEXINFOS =	make.texi
make_TEXINFOS = fdl.texi make-stds.texi

CLEANFILES = make*.html make*.pdf

## ----------------------------- ##
## Other documentation formats.  ##
## ----------------------------- ##

html: make_1.html

make_1.html: $(info_TEXINFOS) $(make_TEXINFOS)
	$(TEXI2HTML) $(TEXI2HTML_FLAGS) $(srcdir)/make.texi


pdf: make.pdf

make.pdf: $(info_TEXINFOS) $(make_TEXINFOS)
	$(TEXI2DVI) --pdf --batch $(srcdir)/make.texi

.PHONY: html pdf