OpenCores
URL https://opencores.org/ocsvn/or1k_old/or1k_old/trunk

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [gdb-5.0/] [readline/] [doc/] [Makefile.in] - Blame information for rev 107

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 106 markom
# This makefile for Readline library documentation is in -*- text -*- mode.
2
# Emacs likes it that way.
3
top_srcdir = @top_srcdir@
4
srcdir = @srcdir@
5
VPATH = .:@srcdir@
6
 
7
prefix = @prefix@
8
infodir = @infodir@
9
 
10
mandir = @mandir@
11
man3dir = $(mandir)/man3
12
 
13
SHELL = @MAKE_SHELL@
14
RM = rm -f
15
 
16
TEXINPUTDIR = $(srcdir)
17
 
18
MAKEINFO    = makeinfo
19
TEXI2DVI    = $(srcdir)/texi2dvi
20
TEXI2HTML   = $(srcdir)/texi2html
21
QUIETPS     = #set this to -q to shut up dvips
22
DVIPS       = dvips -D 300 $(QUIETPS) -o $@     # tricky
23
 
24
INSTALL = @INSTALL@
25
INSTALL_PROGRAM = @INSTALL_PROGRAM@
26
INSTALL_DATA = @INSTALL_DATA@
27
 
28
RLSRC = $(srcdir)/rlman.texinfo $(srcdir)/rluser.texinfo \
29
        $(srcdir)/rltech.texinfo $(srcdir)/manvers.texinfo
30
HISTSRC = $(srcdir)/hist.texinfo $(srcdir)/hsuser.texinfo \
31
          $(srcdir)/hstech.texinfo $(srcdir)/manvers.texinfo
32
 
33
# This should be a program that converts troff to an ascii-readable format
34
NROFF       = groff -Tascii
35
 
36
# This should be a program that converts troff to postscript
37
GROFF       = groff
38
 
39
DVIOBJ = readline.dvi history.dvi
40
INFOOBJ = readline.info history.info
41
PSOBJ = readline.ps history.ps
42
HTMLOBJ = readline.html history.html
43
HTMLTOC = readline_toc.html history_toc.html
44
TEXTOBJ = readline.0
45
 
46
INTERMEDIATE_OBJ = rlman.dvi hist.dvi
47
 
48
CREATED_DOCS = $(DVIOBJ) $(INFOOBJ) $(PSOBJ) $(HTMLOBJ) $(HTMLTOC) $(TEXTOBJ)
49
 
50
.SUFFIXES:      .0 .3 .ps .txt .dvi
51
 
52
.3.0:
53
        $(RM) $@
54
        -${NROFF} -man $< > $@
55
 
56
all: info dvi html ps text
57
nodvi: info html text
58
 
59
readline.dvi: $(RLSRC)
60
        TEXINPUTS=.:$(TEXINPUTDIR):$$TEXINPUTS $(TEXI2DVI) $(srcdir)/rlman.texinfo
61
        mv rlman.dvi readline.dvi
62
 
63
readline.info: $(RLSRC)
64
        $(MAKEINFO) --no-split -I $(TEXINPUTDIR) -o $@ $(srcdir)/rlman.texinfo
65
 
66
history.dvi: ${HISTSRC}
67
        TEXINPUTS=.:$(TEXINPUTDIR):$$TEXINPUTS $(TEXI2DVI) $(srcdir)/hist.texinfo
68
        mv hist.dvi history.dvi
69
 
70
history.info: ${HISTSRC}
71
        $(MAKEINFO) --no-split -I $(TEXINPUTDIR) -o $@ $(srcdir)/hist.texinfo
72
 
73
readline.ps:    readline.dvi
74
        $(RM) $@
75
        $(DVIPS) readline.dvi
76
 
77
history.ps:     history.dvi
78
        $(RM) $@
79
        $(DVIPS) history.dvi
80
 
81
readline.html:  ${RLSRC}
82
        $(TEXI2HTML) -menu -monolithic -I $(TEXINPUTDIR) $(srcdir)/rlman.texinfo
83
        sed -e 's:rlman.html:readline.html:' rlman.html > readline.html
84
        $(RM) rlman.html
85
 
86
history.html:   ${HISTSRC}
87
        $(TEXI2HTML) -menu -monolithic -I $(TEXINPUTDIR) $(srcdir)/hist.texinfo
88
        sed -e 's:hist.html:history.html:' hist.html > history.html
89
        $(RM) hist.html
90
 
91
info:   $(INFOOBJ)
92
dvi:    $(DVIOBJ)
93
ps:     $(PSOBJ)
94
html:   $(HTMLOBJ)
95
text:   $(TEXTOBJ)
96
 
97
readline.0: readline.3
98
 
99
clean:
100
        $(RM) *.aux *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr *.cps *.pgs \
101
              *.fns *.kys *.tps *.vrs *.o core
102
 
103
distclean: clean
104
        $(RM) $(CREATED_DOCS)
105
        $(RM) $(INTERMEDIATE_OBJ)
106
        $(RM) Makefile
107
 
108
mostlyclean: clean
109
 
110
maintainer-clean: clean
111
        $(RM) $(CREATED_DOCS)
112
        $(RM) $(INTERMEDIATE_OBJ)
113
        $(RM) Makefile
114
 
115
installdirs:    $(top_srcdir)/support/mkdirs
116
        -$(SHELL) $(top_srcdir)/support/mkdirs $(infodir) $(man3dir)
117
 
118
install:        installdirs
119
        if test -f readline.info; then \
120
                ${INSTALL_DATA} readline.info $(infodir)/readline.info; \
121
        else \
122
                ${INSTALL_DATA} $(srcdir)/readline.info $(infodir)/readline.info; \
123
        fi
124
        if test -f history.info; then \
125
                ${INSTALL_DATA} history.info $(infodir)/history.info; \
126
        else \
127
                ${INSTALL_DATA} $(srcdir)/history.info $(infodir)/history.info; \
128
        fi
129
        if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
130
                install-info --dir-file=$(infodir)/dir $(infodir)/readline.info ; \
131
                install-info --dir-file=$(infodir)/dir $(infodir)/history.info ; \
132
        else true; fi
133
        -${INSTALL_DATA} $(srcdir)/readline.3 $(man3dir)/readline.3
134
 
135
uninstall:
136
        $(RM) $(infodir)/readline.info
137
        $(RM) $(infodir)/history.info
138
        $(RM) $(man3dir)/readline.3

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.