2000-03-25 07:45:29 +00:00
|
|
|
# Makefile for gperf/doc
|
|
|
|
|
2011-11-28 12:29:16 +00:00
|
|
|
# Copyright (C) 1998, 2000, 2002-2003, 2007 Free Software Foundation, Inc.
|
|
|
|
# Written by Douglas C. Schmidt <schmidt@ics.uci.edu>
|
|
|
|
# and Bruno Haible <bruno@clisp.org>.
|
2000-03-25 07:45:29 +00:00
|
|
|
#
|
|
|
|
# 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
|
2011-11-28 12:29:16 +00:00
|
|
|
# the Free Software Foundation; either version 2, or (at your option)
|
2000-03-25 07:45:29 +00:00
|
|
|
# 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
|
2011-11-28 12:29:16 +00:00
|
|
|
# along with this program; see the file COPYING.
|
|
|
|
# If not, write to the Free Software Foundation, Inc.,
|
|
|
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
|
2000-03-25 07:45:29 +00:00
|
|
|
|
|
|
|
#### 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@
|
2011-11-28 12:29:16 +00:00
|
|
|
datarootdir = @datarootdir@
|
2000-10-13 12:04:55 +00:00
|
|
|
datadir = @datadir@
|
2000-03-25 07:45:29 +00:00
|
|
|
infodir = @infodir@
|
|
|
|
mandir = @mandir@
|
|
|
|
man1dir = $(mandir)/man1
|
2011-11-28 12:29:16 +00:00
|
|
|
docdir = @docdir@
|
|
|
|
dvidir = @dvidir@
|
|
|
|
psdir = @psdir@
|
|
|
|
pdfdir = @pdfdir@
|
|
|
|
htmldir = @htmldir@
|
2000-03-25 07:45:29 +00:00
|
|
|
|
|
|
|
# Programs used by "make":
|
|
|
|
RM = rm -f
|
|
|
|
@SET_MAKE@
|
|
|
|
|
|
|
|
# Programs used by "make" if you have changed the documentation files:
|
|
|
|
TEX = tex
|
|
|
|
TEXI2DVI = texi2dvi
|
2000-10-13 12:04:55 +00:00
|
|
|
DVIPS = dvips -D600
|
2011-11-28 12:29:16 +00:00
|
|
|
TEXI2PDF = texi2pdf
|
|
|
|
MAKEINFO = LANG= LC_MESSAGES= LC_ALL= LANGUAGE= makeinfo
|
2000-03-25 07:45:29 +00:00
|
|
|
TEXI2HTML = texi2html
|
|
|
|
|
|
|
|
# Programs used by "make install":
|
|
|
|
INSTALL = @INSTALL@
|
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
2000-10-13 12:04:55 +00:00
|
|
|
MKINSTALLDIRS = $(SHELL) $(srcdir)/../mkinstalldirs
|
2000-03-25 07:45:29 +00:00
|
|
|
|
|
|
|
#### End of system configuration section. ####
|
|
|
|
|
|
|
|
SHELL = /bin/sh
|
|
|
|
|
|
|
|
VPATH = $(srcdir)
|
|
|
|
|
2011-11-28 12:29:16 +00:00
|
|
|
all : info ps pdf html
|
2000-03-25 07:45:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
info : $(srcdir)/gperf.info
|
|
|
|
|
2000-10-13 12:04:55 +00:00
|
|
|
$(srcdir)/gperf.info : $(srcdir)/gperf.texi $(srcdir)/gpl.texinfo
|
2000-03-25 07:45:29 +00:00
|
|
|
cd $(srcdir) && $(MAKEINFO) --no-split gperf.texi
|
|
|
|
|
|
|
|
|
|
|
|
dvi : $(srcdir)/gperf.dvi
|
|
|
|
|
2000-10-13 12:04:55 +00:00
|
|
|
$(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
|
2000-03-25 07:45:29 +00:00
|
|
|
cd $(srcdir) && $(TEXI2DVI) gperf.texi
|
2000-10-13 12:04:55 +00:00
|
|
|
cd $(srcdir) && $(RM) gperf.aux gperf.toc gperf.cp gperf.fn gperf.ky gperf.pg gperf.tp gperf.vr gperf.log gperf.cps
|
2000-03-25 07:45:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
ps : $(srcdir)/gperf.ps
|
|
|
|
|
|
|
|
$(srcdir)/gperf.ps : $(srcdir)/gperf.dvi
|
2011-11-28 12:29:16 +00:00
|
|
|
$(DVIPS) -o $@ $(srcdir)/gperf.dvi
|
|
|
|
|
|
|
|
|
|
|
|
pdf : $(srcdir)/gperf.pdf
|
|
|
|
|
|
|
|
$(srcdir)/gperf.pdf : $(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) && $(TEXI2PDF) 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
|
2000-03-25 07:45:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
html : gperf.html gperf_toc.html
|
|
|
|
|
2000-10-13 12:04:55 +00:00
|
|
|
gperf.html : $(srcdir)/gperf.texi $(srcdir)/gpl.texinfo
|
2000-03-25 07:45:29 +00:00
|
|
|
cd $(srcdir) && $(TEXI2HTML) -expandinfo -number -monolithic gperf.texi
|
|
|
|
|
2000-10-13 12:04:55 +00:00
|
|
|
gperf_toc.html : $(srcdir)/gperf.texi $(srcdir)/gpl.texinfo
|
2000-03-25 07:45:29 +00:00
|
|
|
cd $(srcdir) && $(RM) gperf_*.html
|
|
|
|
cd $(srcdir) && $(TEXI2HTML) -expandinfo -number -split_chapter gperf.texi
|
|
|
|
|
|
|
|
|
|
|
|
install : all force
|
2000-10-13 12:04:55 +00:00
|
|
|
$(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)
|
2011-11-28 12:29:16 +00:00
|
|
|
# $(INSTALL_DATA) $(srcdir)/gperf.ps $(DESTDIR)$(psdir)/gperf.ps
|
|
|
|
# $(MKINSTALLDIRS) $(DESTDIR)$(pdfdir)
|
|
|
|
# $(INSTALL_DATA) $(srcdir)/gperf.pdf $(DESTDIR)$(pdfdir)/gperf.pdf
|
2000-10-13 12:04:55 +00:00
|
|
|
$(MKINSTALLDIRS) $(DESTDIR)$(htmldir)
|
|
|
|
$(INSTALL_DATA) $(srcdir)/gperf.html $(DESTDIR)$(htmldir)/gperf.html
|
2000-03-25 07:45:29 +00:00
|
|
|
|
|
|
|
installdirs : force
|
2000-10-13 12:04:55 +00:00
|
|
|
$(MKINSTALLDIRS) $(DESTDIR)$(infodir)
|
|
|
|
$(MKINSTALLDIRS) $(DESTDIR)$(man1dir)
|
|
|
|
# $(MKINSTALLDIRS) $(DESTDIR)$(dvidir)
|
|
|
|
# $(MKINSTALLDIRS) $(DESTDIR)$(psdir)
|
2011-11-28 12:29:16 +00:00
|
|
|
# $(MKINSTALLDIRS) $(DESTDIR)$(pdfdir)
|
2000-10-13 12:04:55 +00:00
|
|
|
$(MKINSTALLDIRS) $(DESTDIR)$(htmldir)
|
2000-03-25 07:45:29 +00:00
|
|
|
|
|
|
|
uninstall : force
|
2000-10-13 12:04:55 +00:00
|
|
|
$(RM) $(DESTDIR)$(infodir)/gperf.info
|
|
|
|
$(RM) $(DESTDIR)$(man1dir)/gperf.1
|
|
|
|
# $(RM) $(DESTDIR)$(dvidir)/gperf.dvi
|
|
|
|
# $(RM) $(DESTDIR)$(psdir)/gperf.ps
|
2011-11-28 12:29:16 +00:00
|
|
|
# $(RM) $(DESTDIR)$(pdfdir)/gperf.pdf
|
2000-10-13 12:04:55 +00:00
|
|
|
$(RM) $(DESTDIR)$(htmldir)/gperf.html
|
2000-03-25 07:45:29 +00:00
|
|
|
|
|
|
|
check : all
|
|
|
|
|
|
|
|
mostlyclean : clean
|
|
|
|
|
|
|
|
clean : force
|
2000-10-13 12:04:55 +00:00
|
|
|
$(RM) *~ *.aux *.toc *.cp *.fn *.ky *.pg *.tp *.vr *.my *.log *.cps core
|
2000-03-25 07:45:29 +00:00
|
|
|
|
|
|
|
distclean : clean
|
|
|
|
$(RM) config.status config.log config.cache Makefile
|
|
|
|
|
|
|
|
maintainer-clean : distclean
|
2011-11-28 12:29:16 +00:00
|
|
|
$(RM) *.info *.dvi *.ps *.pdf *.html
|
2000-03-25 07:45:29 +00:00
|
|
|
|
|
|
|
force :
|
|
|
|
|