Annotation of embedaddon/readline/doc/Makefile.in, revision 1.1

1.1     ! misho       1: # This makefile for Readline library documentation is in -*- text -*- mode.
        !             2: # Emacs likes it that way.
        !             3: 
        !             4: # Copyright (C) 1996-2009 Free Software Foundation, Inc.
        !             5: 
        !             6: #   This program is free software: you can redistribute it and/or modify
        !             7: #   it under the terms of the GNU General Public License as published by
        !             8: #   the Free Software Foundation, either version 3 of the License, or
        !             9: #   (at your option) any later version.
        !            10: 
        !            11: #   This program is distributed in the hope that it will be useful,
        !            12: #   but WITHOUT ANY WARRANTY; without even the implied warranty of
        !            13: #   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        !            14: #   GNU General Public License for more details.
        !            15: 
        !            16: #   You should have received a copy of the GNU General Public License
        !            17: #   along with this program.  If not, see <http://www.gnu.org/licenses/>.
        !            18: 
        !            19: PACKAGE_TARNAME = @PACKAGE_TARNAME@
        !            20: 
        !            21: topdir = @top_srcdir@
        !            22: srcdir = @srcdir@
        !            23: VPATH = @srcdir@
        !            24: 
        !            25: prefix = @prefix@
        !            26: 
        !            27: datarootdir = @datarootdir@
        !            28: 
        !            29: docdir = @docdir@
        !            30: infodir = @infodir@
        !            31: 
        !            32: mandir = @mandir@
        !            33: manpfx = man
        !            34: 
        !            35: man1ext = .1
        !            36: man1dir = $(mandir)/$(manpfx)1
        !            37: man3ext = .3
        !            38: man3dir = $(mandir)/$(manpfx)3
        !            39: 
        !            40: # set this to a value to have the HTML documentation installed
        !            41: htmldir =
        !            42: 
        !            43: # Support an alternate destination root directory for package building
        !            44: DESTDIR =
        !            45: 
        !            46: SHELL = @MAKE_SHELL@
        !            47: RM = rm -f
        !            48: 
        !            49: INSTALL = @INSTALL@
        !            50: INSTALL_DATA = @INSTALL_DATA@
        !            51: 
        !            52: BUILD_DIR = @BUILD_DIR@
        !            53: TEXINPUTDIR = $(srcdir)
        !            54: 
        !            55: MAKEINFO    = LANGUAGE= makeinfo
        !            56: TEXI2DVI    = $(srcdir)/texi2dvi
        !            57: TEXI2HTML   = $(srcdir)/texi2html
        !            58: QUIETPS     = #set this to -q to shut up dvips
        !            59: PAPERSIZE   = letter
        !            60: PSDPI       = 600
        !            61: DVIPS       = dvips -D ${PSDPI} $(QUIETPS) -t ${PAPERSIZE} -o $@     # tricky
        !            62: 
        !            63: # These tools might not be available; they're not required
        !            64: DVIPDF      = dvipdfm -o $@ -p ${PAPERSIZE}
        !            65: PSPDF       = gs -sPAPERSIZE=${PAPERSIZE} -sDEVICE=pdfwrite -dNOPAUSE -dBATCH -sOutputFile=$@
        !            66: 
        !            67: RLSRC = $(srcdir)/rlman.texi $(srcdir)/rluser.texi \
        !            68:        $(srcdir)/rltech.texi $(srcdir)/version.texi \
        !            69:        $(srcdir)/rluserman.texi $(srcdir)/fdl.texi
        !            70: HISTSRC = $(srcdir)/history.texi $(srcdir)/hsuser.texi \
        !            71:          $(srcdir)/hstech.texi $(srcdir)/version.texi $(srcdir)/fdl.texi
        !            72: 
        !            73: # This should be a program that converts troff to an ascii-readable format
        !            74: NROFF       = groff -Tascii
        !            75: 
        !            76: # This should be a program that converts troff to postscript
        !            77: GROFF       = groff
        !            78: 
        !            79: DVIOBJ = readline.dvi history.dvi rluserman.dvi
        !            80: INFOOBJ = readline.info history.info rluserman.info
        !            81: PSOBJ = readline.ps history.ps rluserman.ps readline_3.ps history_3.ps
        !            82: HTMLOBJ = readline.html history.html rluserman.html
        !            83: TEXTOBJ = readline.0 history.0
        !            84: PDFOBJ = readline.pdf history.pdf rluserman.pdf
        !            85: 
        !            86: INTERMEDIATE_OBJ = rlman.dvi
        !            87: 
        !            88: DIST_DOCS = $(DVIOBJ) $(PSOBJ) $(HTMLOBJ) $(INFOOBJ) $(TEXTOBJ) $(PDFOBJ)
        !            89: 
        !            90: .SUFFIXES:      .0 .3 .ps .txt .dvi .html .pdf
        !            91: 
        !            92: .3.0:
        !            93:        $(RM) $@
        !            94:        -${NROFF} -man $< > $@
        !            95: 
        !            96: .ps.pdf:
        !            97:        $(RM) $@
        !            98:        -${PSPDF} $<
        !            99: 
        !           100: .dvi.pdf:
        !           101:        $(RM) $@
        !           102:        -${DVIPDF} $<
        !           103: 
        !           104: all: info dvi html ps text pdf
        !           105: nodvi: info html text
        !           106: 
        !           107: xdist: $(DIST_DOCS)
        !           108: 
        !           109: info:  $(INFOOBJ)
        !           110: dvi:   $(DVIOBJ)
        !           111: ps:    $(PSOBJ)
        !           112: html:  $(HTMLOBJ)
        !           113: text:  $(TEXTOBJ)
        !           114: pdf:   $(PDFOBJ)
        !           115: 
        !           116: readline.dvi: $(RLSRC)
        !           117:        TEXINPUTS=.:$(TEXINPUTDIR):$$TEXINPUTS $(TEXI2DVI) $(srcdir)/rlman.texi
        !           118:        mv rlman.dvi readline.dvi
        !           119: 
        !           120: readline.info: $(RLSRC)
        !           121:        $(MAKEINFO) --no-split -I $(TEXINPUTDIR) -o $@ $(srcdir)/rlman.texi
        !           122: 
        !           123: rluserman.dvi: $(RLSRC)
        !           124:        TEXINPUTS=.:$(TEXINPUTDIR):$$TEXINPUTS $(TEXI2DVI) $(srcdir)/rluserman.texi
        !           125: 
        !           126: rluserman.info: $(RLSRC)
        !           127:        $(MAKEINFO) --no-split -I $(TEXINPUTDIR) -o $@ $(srcdir)/rluserman.texi
        !           128: 
        !           129: history.dvi: ${HISTSRC}
        !           130:        TEXINPUTS=.:$(TEXINPUTDIR):$$TEXINPUTS $(TEXI2DVI) $(srcdir)/history.texi
        !           131: 
        !           132: history.info: ${HISTSRC}
        !           133:        $(MAKEINFO) --no-split -I $(TEXINPUTDIR) -o $@ $(srcdir)/history.texi
        !           134: 
        !           135: readline.ps:   readline.dvi
        !           136:        $(RM) $@
        !           137:        $(DVIPS) readline.dvi
        !           138: 
        !           139: rluserman.ps:  rluserman.dvi
        !           140:        $(RM) $@
        !           141:        $(DVIPS) rluserman.dvi
        !           142: 
        !           143: history.ps:    history.dvi
        !           144:        $(RM) $@
        !           145:        $(DVIPS) history.dvi
        !           146: 
        !           147: #
        !           148: # This leaves readline.html and rlman.html -- rlman.html is for www.gnu.org
        !           149: #
        !           150: readline.html: ${RLSRC}
        !           151:        $(TEXI2HTML) -menu -monolithic -I $(TEXINPUTDIR) $(srcdir)/rlman.texi
        !           152:        sed -e 's:rlman.html:readline.html:g' rlman.html > readline.html
        !           153:        $(RM) rlman.html
        !           154: 
        !           155: rluserman.html:        ${RLSRC}
        !           156:        $(TEXI2HTML) -menu -monolithic -I $(TEXINPUTDIR) $(srcdir)/rluserman.texi
        !           157: 
        !           158: history.html:  ${HISTSRC}
        !           159:        $(TEXI2HTML) -menu -monolithic -I $(TEXINPUTDIR) $(srcdir)/history.texi
        !           160: 
        !           161: readline.0: readline.3
        !           162: 
        !           163: readline_3.ps: $(srcdir)/readline.3
        !           164:        ${RM} $@
        !           165:        ${GROFF} -man < $(srcdir)/readline.3 > $@ 
        !           166: 
        !           167: history.0: history.3
        !           168: 
        !           169: history_3.ps: $(srcdir)/history.3
        !           170:        ${RM} $@
        !           171:        ${GROFF} -man < $(srcdir)/history.3 > $@ 
        !           172: 
        !           173: readline.pdf:  readline.dvi
        !           174: history.pdf:   history.dvi
        !           175: rluserman.pdf: rluserman.dvi
        !           176: 
        !           177: clean:
        !           178:        $(RM) *.aux *.bak *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr *.cps \
        !           179:              *.pgs *.bt *.bts *.rw *.rws *.fns *.kys *.tps *.vrs *.o \
        !           180:              core *.core
        !           181: 
        !           182: mostlyclean: clean
        !           183: 
        !           184: distclean: clean maybe-clean
        !           185:        $(RM) $(INTERMEDIATE_OBJ)
        !           186:        $(RM) Makefile
        !           187: 
        !           188: maybe-clean:
        !           189:        -if test "X$(topdir)" != "X.." && test "X$(topdir)" != "X$(BUILD_DIR)"; then \
        !           190:                $(RM) $(DIST_DOCS); \
        !           191:        fi
        !           192: 
        !           193: maintainer-clean: clean
        !           194:        $(RM) $(DIST_DOCS)
        !           195:        $(RM) $(INTERMEDIATE_OBJ)
        !           196:        $(RM) $(PDFOBJ)
        !           197:        $(RM) Makefile
        !           198: 
        !           199: installdirs:   $(topdir)/support/mkdirs
        !           200:        -$(SHELL) $(topdir)/support/mkdirs $(DESTDIR)$(infodir) $(DESTDIR)$(man3dir)
        !           201:        -if test -n "${htmldir}" ; then \
        !           202:                $(SHELL) $(topdir)/support/mkdirs $(DESTDIR)$(htmldir) ; \
        !           203:        fi
        !           204: 
        !           205: install:       installdirs
        !           206:        if test -f readline.info; then \
        !           207:                ${INSTALL_DATA} readline.info $(DESTDIR)$(infodir)/readline.info; \
        !           208:        else \
        !           209:                ${INSTALL_DATA} $(srcdir)/readline.info $(DESTDIR)$(infodir)/readline.info; \
        !           210:        fi
        !           211:        if test -f rluserman.info; then \
        !           212:                ${INSTALL_DATA} rluserman.info $(DESTDIR)$(infodir)/rluserman.info; \
        !           213:        else \
        !           214:                ${INSTALL_DATA} $(srcdir)/rluserman.info $(DESTDIR)$(infodir)/rluserman.info; \
        !           215:        fi
        !           216:        if test -f history.info; then \
        !           217:                ${INSTALL_DATA} history.info $(DESTDIR)$(infodir)/history.info; \
        !           218:        else \
        !           219:                ${INSTALL_DATA} $(srcdir)/history.info $(DESTDIR)$(infodir)/history.info; \
        !           220:        fi
        !           221:        -if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
        !           222:                install-info --dir-file=$(DESTDIR)$(infodir)/dir \
        !           223:                        $(DESTDIR)$(infodir)/readline.info ; \
        !           224:                install-info --dir-file=$(DESTDIR)$(infodir)/dir \
        !           225:                        $(DESTDIR)$(infodir)/history.info ; \
        !           226:                install-info --dir-file=$(DESTDIR)$(infodir)/dir \
        !           227:                        $(DESTDIR)$(infodir)/rluserman.info ; \
        !           228:        else true; fi
        !           229:        -${INSTALL_DATA} $(srcdir)/readline.3 $(DESTDIR)$(man3dir)/readline$(man3ext)
        !           230:        -${INSTALL_DATA} $(srcdir)/history.3 $(DESTDIR)$(man3dir)/history$(man3ext)
        !           231:        -if test -n "${htmldir}" ; then \
        !           232:                if test -f readline.html; then \
        !           233:                        ${INSTALL_DATA} readline.html $(DESTDIR)$(htmldir)/readline.html; \
        !           234:                else \
        !           235:                        ${INSTALL_DATA} $(srcdir)/readline.html $(DESTDIR)$(htmldir)/readline.html; \
        !           236:                fi ; \
        !           237:                if test -f history.html; then \
        !           238:                        ${INSTALL_DATA} history.html $(DESTDIR)$(htmldir)/history.html; \
        !           239:                else \
        !           240:                        ${INSTALL_DATA} $(srcdir)/history.html $(DESTDIR)$(htmldir)/history.html; \
        !           241:                fi ; \
        !           242:                if test -f rluserman.html; then \
        !           243:                        ${INSTALL_DATA} rluserman.html $(DESTDIR)$(htmldir)/rluserman.html; \
        !           244:                else \
        !           245:                        ${INSTALL_DATA} $(srcdir)/rluserman.html $(DESTDIR)$(htmldir)/rluserman.html; \
        !           246:                fi ; \
        !           247:        fi
        !           248: 
        !           249: uninstall:
        !           250:        $(RM) $(DESTDIR)$(infodir)/readline.info
        !           251:        $(RM) $(DESTDIR)$(infodir)/rluserman.info
        !           252:        $(RM) $(DESTDIR)$(infodir)/history.info
        !           253:        $(RM) $(DESTDIR)$(man3dir)/readline$(man3ext)
        !           254:        $(RM) $(DESTDIR)$(man3dir)/history$(man3ext)
        !           255:        -if test -n "${htmldir}" ; then \
        !           256:                $(RM) $(DESTDIR)$(htmldir)/readline.html ; \
        !           257:                $(RM) $(DESTDIR)$(htmldir)/rluserman.html ; \
        !           258:                $(RM) $(DESTDIR)$(htmldir)/history.html ; \
        !           259:        fi

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>