aboutsummaryrefslogtreecommitdiffstats
path: root/doc/Makefile.in
blob: 99ac03d1b68ce05927b6ee7d307e3f7b5bcc5af5 (plain) (blame)
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
# Makefile for gperf/doc

# Copyright (C) 1998, 2000 Free Software Foundation, Inc.
#
# This file is part of GNU GPERF.
#
# GNU GPERF 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 1, or (at your option)
# any later version.
#
# GNU GPERF 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.
#
# You should have received a copy of the GNU General Public License
# along with GNU GPERF; see the file COPYING.  If not, write to the Free
# Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111, USA.

#### Start of system configuration section. ####

# Directories used by "make":
srcdir = @srcdir@

# Directories used by "make install":
prefix = @prefix@
local_prefix = /usr/local
exec_prefix = @exec_prefix@
datadir = @datadir@
infodir = @infodir@
mandir = @mandir@
man1dir = $(mandir)/man1
docdir = $(prefix)/doc/@PACKAGE@
dvidir = $(docdir)
psdir = $(docdir)
htmldir = $(docdir)

# Programs used by "make":
RM = rm -f
@SET_MAKE@

# Programs used by "make" if you have changed the documentation files:
TEX = tex
TEXI2DVI = texi2dvi
DVIPS = dvips -D600
MAKEINFO = LANG= LANGUAGE= makeinfo
TEXI2HTML = texi2html

# Programs used by "make install":
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
MKINSTALLDIRS = $(SHELL) $(srcdir)/../mkinstalldirs

#### End of system configuration section. ####

SHELL = /bin/sh

VPATH = $(srcdir)

all : info dvi ps html


info : $(srcdir)/gperf.info

$(srcdir)/gperf.info : $(srcdir)/gperf.texi $(srcdir)/gpl.texinfo
	cd $(srcdir) && $(MAKEINFO) --no-split gperf.texi


dvi : $(srcdir)/gperf.dvi

$(srcdir)/gperf.dvi : $(srcdir)/gperf.texi $(srcdir)/gpl.texinfo
	cd $(srcdir) && $(RM) gperf.aux gperf.toc gperf.cp gperf.fn gperf.ky gperf.pg gperf.tp gperf.vr gperf.log gperf.cps
	cd $(srcdir) && $(TEXI2DVI) gperf.texi
	cd $(srcdir) && $(RM) gperf.aux gperf.toc gperf.cp gperf.fn gperf.ky gperf.pg gperf.tp gperf.vr gperf.log gperf.cps


ps : $(srcdir)/gperf.ps

$(srcdir)/gperf.ps : $(srcdir)/gperf.dvi
	$(DVIPS) -o $@ $<


html : gperf.html gperf_toc.html

gperf.html : $(srcdir)/gperf.texi $(srcdir)/gpl.texinfo
	cd $(srcdir) && $(TEXI2HTML) -expandinfo -number -monolithic gperf.texi

gperf_toc.html : $(srcdir)/gperf.texi $(srcdir)/gpl.texinfo
	cd $(srcdir) && $(RM) gperf_*.html
	cd $(srcdir) && $(TEXI2HTML) -expandinfo -number -split_chapter gperf.texi


install : all force
	$(MKINSTALLDIRS) $(DESTDIR)$(infodir)
	$(INSTALL_DATA) $(srcdir)/gperf.info $(DESTDIR)$(infodir)/gperf.info
	$(MKINSTALLDIRS) $(DESTDIR)$(man1dir)
	$(INSTALL_DATA) $(srcdir)/gperf.1 $(DESTDIR)$(man1dir)/gperf.1
#	$(MKINSTALLDIRS) $(DESTDIR)$(dvidir)
#	$(INSTALL_DATA) $(srcdir)/gperf.dvi $(DESTDIR)$(dvidir)/gperf.dvi
#	$(MKINSTALLDIRS) $(DESTDIR)$(psdir)
#	$(INSTALL_DATA) $(srcdir)/gperf.ps $(DESTDIR)$(dvidir)/gperf.ps
	$(MKINSTALLDIRS) $(DESTDIR)$(htmldir)
	$(INSTALL_DATA) $(srcdir)/gperf.html $(DESTDIR)$(htmldir)/gperf.html

installdirs : force
	$(MKINSTALLDIRS) $(DESTDIR)$(infodir)
	$(MKINSTALLDIRS) $(DESTDIR)$(man1dir)
#	$(MKINSTALLDIRS) $(DESTDIR)$(dvidir)
#	$(MKINSTALLDIRS) $(DESTDIR)$(psdir)
	$(MKINSTALLDIRS) $(DESTDIR)$(htmldir)

uninstall : force
	$(RM) $(DESTDIR)$(infodir)/gperf.info
	$(RM) $(DESTDIR)$(man1dir)/gperf.1
#	$(RM) $(DESTDIR)$(dvidir)/gperf.dvi
#	$(RM) $(DESTDIR)$(psdir)/gperf.ps
	$(RM) $(DESTDIR)$(htmldir)/gperf.html

check : all

mostlyclean : clean

clean : force
	$(RM) *~ *.aux *.toc *.cp *.fn *.ky *.pg *.tp *.vr *.my *.log *.cps core

distclean : clean
	$(RM) config.status config.log config.cache Makefile

maintainer-clean : distclean
	$(RM) *.info *.dvi *.ps *.html

force :