| 1 | # This Makefile is for the Bash/documentation directory -*- text -*-.
|
|---|
| 2 | #
|
|---|
| 3 | # Copyright (C) 2003 Free Software Foundation, Inc.
|
|---|
| 4 |
|
|---|
| 5 | # This program is free software; you can redistribute it and/or modify
|
|---|
| 6 | # it under the terms of the GNU General Public License as published by
|
|---|
| 7 | # the Free Software Foundation; either version 2, or (at your option)
|
|---|
| 8 | # any later version.
|
|---|
| 9 |
|
|---|
| 10 | # This program is distributed in the hope that it will be useful,
|
|---|
| 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|---|
| 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|---|
| 13 | # GNU General Public License for more details.
|
|---|
| 14 |
|
|---|
| 15 | # You should have received a copy of the GNU General Public License
|
|---|
| 16 | # along with this program; if not, write to the Free Software
|
|---|
| 17 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
|
|---|
| 18 |
|
|---|
| 19 | PACKAGE = @PACKAGE_NAME@
|
|---|
| 20 | VERSION = @PACKAGE_VERSION@
|
|---|
| 21 |
|
|---|
| 22 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
|---|
| 23 | PACKAGE_NAME = @PACKAGE_NAME@
|
|---|
| 24 | PACKAGE_STRING = @PACKAGE_STRING@
|
|---|
| 25 | PACKAGE_VERSION = @PACKAGE_VERSION@
|
|---|
| 26 |
|
|---|
| 27 | #
|
|---|
| 28 | SHELL = @MAKE_SHELL@
|
|---|
| 29 | RM = rm -f
|
|---|
| 30 |
|
|---|
| 31 | topdir = @top_srcdir@
|
|---|
| 32 | srcdir = @srcdir@
|
|---|
| 33 | VPATH = .;@srcdir@
|
|---|
| 34 |
|
|---|
| 35 | prefix = @prefix@
|
|---|
| 36 | exec_prefix = @exec_prefix@
|
|---|
| 37 |
|
|---|
| 38 | infodir = @infodir@
|
|---|
| 39 |
|
|---|
| 40 | # set this to a directory name to have the HTML files installed
|
|---|
| 41 | htmldir = @htmldir@
|
|---|
| 42 |
|
|---|
| 43 | # Support an alternate destination root directory for package building
|
|---|
| 44 | DESTDIR =
|
|---|
| 45 |
|
|---|
| 46 | mandir = @mandir@
|
|---|
| 47 | manpfx = man
|
|---|
| 48 |
|
|---|
| 49 | man1ext = .1
|
|---|
| 50 | man1dir = $(mandir)/$(manpfx)1
|
|---|
| 51 | man3ext = .3
|
|---|
| 52 | man3dir = $(mandir)/$(manpfx)3
|
|---|
| 53 |
|
|---|
| 54 | INSTALL = @INSTALL@
|
|---|
| 55 | INSTALL_DATA = @INSTALL_DATA@
|
|---|
| 56 | BUILD_DIR = @BUILD_DIR@
|
|---|
| 57 |
|
|---|
| 58 | SUPPORT_SRCDIR = $(topdir)/support
|
|---|
| 59 |
|
|---|
| 60 | # bad style
|
|---|
| 61 | RL_LIBDIR = $(topdir)/lib/readline
|
|---|
| 62 |
|
|---|
| 63 | # unused
|
|---|
| 64 | TEXINDEX = texindex
|
|---|
| 65 | TEX = tex
|
|---|
| 66 |
|
|---|
| 67 | MAKEINFO = makeinfo
|
|---|
| 68 | TEXI2DVI = ${SUPPORT_SRCDIR}/texi2dvi
|
|---|
| 69 | TEXI2HTML = ${SUPPORT_SRCDIR}/texi2html
|
|---|
| 70 | MAN2HTML = ${BUILD_DIR}/support/man2html
|
|---|
| 71 | HTMLPOST = ${srcdir}/htmlpost.sh
|
|---|
| 72 | INFOPOST = ${srcdir}/infopost.sh
|
|---|
| 73 | QUIETPS = #set this to -q to shut up dvips
|
|---|
| 74 | PAPERSIZE = letter # change to a4 for A4-size paper
|
|---|
| 75 | PSDPI = 600 # could be 300 if you like
|
|---|
| 76 | DVIPS = dvips -D ${PSDPI} $(QUIETPS) -t ${PAPERSIZE} -o $@ # tricky
|
|---|
| 77 |
|
|---|
| 78 | TEXINPUTDIR = $(RL_LIBDIR)/doc
|
|---|
| 79 | SET_TEXINPUTS = TEXINPUTS=.:$(TEXINPUTDIR):$$TEXINPUTS
|
|---|
| 80 |
|
|---|
| 81 | # These tools might not be available; they're not required
|
|---|
| 82 | DVIPDF = dvipdfm -o $@ -p ${PAPERSIZE}
|
|---|
| 83 | PSPDF = gs -sPAPERSIZE=${PAPERSIZE} -sDEVICE=pdfwrite -dNOPAUSE -dBATCH -sOutputFile=$@
|
|---|
| 84 |
|
|---|
| 85 | MKDIRS = ${SUPPORT_SRCDIR}/mkdirs
|
|---|
|
|---|