Imported Upstream version 4.0
[platform/upstream/make.git] / doc / Makefile.am
1 # -*-Makefile-*-, or close enough
2 # Copyright (C) 2000-2013 Free Software Foundation, Inc.
3 # This file is part of GNU Make.
4 #
5 # GNU Make is free software; you can redistribute it and/or modify it under
6 # the terms of the GNU General Public License as published by the Free Software
7 # Foundation; either version 3 of the License, or (at your option) any later
8 # version.
9 #
10 # GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
11 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12 # FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
13 # details.
14 #
15 # You should have received a copy of the GNU General Public License along with
16 # this program.  If not, see <http://www.gnu.org/licenses/>.
17
18 TEXI2HTML = texi2html
19 TEXI2HTML_FLAGS = -split_chapter
20
21 info_TEXINFOS = make.texi
22 make_TEXINFOS = fdl.texi make-stds.texi
23
24 CLEANFILES = make*.html
25
26 ## ----------------------------- ##
27 ## Other documentation formats.  ##
28 ## ----------------------------- ##
29
30 html: make_1.html
31
32 make_1.html: $(info_TEXINFOS) $(make_TEXINFOS)
33         $(TEXI2HTML) $(TEXI2HTML_FLAGS) $(srcdir)/make.texi
34
35 .PHONY: html