ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/Makefile.in
(Generate patch)

Comparing rxvt-unicode/doc/Makefile.in (file contents):
Revision 1.19 by root, Wed Sep 8 17:22:35 2004 UTC vs.
Revision 1.61 by root, Sun Nov 14 18:12:14 2021 UTC

1# doc/Makefile.in -*- Makefile -*- 1# doc/Makefile.in -*- Makefile -*-
2# $Id: Makefile.in,v 1.19 2004/09/08 17:22:35 root Exp $
3@MCOMMON@
4 2
5srcdir = @srcdir@ 3DATE = @DATE@
6VPATH = @srcdir@ 4VERSION = @VERSION@
7.PATH: @srcdir@ 5RXVTNAME = @RXVTNAME@
6SHELL = /bin/sh
7prefix = @prefix@
8exec_prefix = @exec_prefix@
9bindir = @bindir@
10libdir = @libdir@
11man1dir = @mandir@/man1
12man1ext = 1
13man3dir = @mandir@/man3
14man3ext = 3
15man7dir = @mandir@/man7
16man7ext = 7
17PERL = @PERL@
18INSTALL = @INSTALL@
19INSTALL_PROGRAM = @INSTALL@ -m 755
20INSTALL_DATA = @INSTALL@ -m 644
8 21
9basedir = .. 22srcdir = @srcdir@
10thisdir = doc 23VPATH = @srcdir@
11 24
12first_rule: all 25first_rule: all
13dummy: 26dummy:
14 27
15DIST_ETC = etc/rxvt.termcap etc/rxvt.terminfo etc/XTerm.ad
16DIST_POD = rxvt.1.pod rxvt.7.pod
17DIST_MENU = menu/menu menu/example.menu menu/rxvt.menu menu/rxvt.zh-menu\
18 menu/terminal.menu menu/jedmenu.sl
19DIST = Makefile.in README.menu README.xvt BUGS FAQ TODO\
20 changes.txt xterm.seq LSM.in \
21 rxvt.1.man rxvt.7.man rxvt.1.html rxvt.7.html rxvt.1.txt rxvt.7.txt
22
23#------------------------------------------------------------------------- 28#-------------------------------------------------------------------------
24 29
30SEDREPLACE = -e 's%@@RXVT_VERSION@@%$(VERSION)%g;' \
31 -e 's%@@RXVT_NAME@@%$(RXVTNAME)%g;' \
32 -e 's%@@RXVT_DATE@@%$(DATE)%g;' \
33 -e 's%@@RXVT_LIBDIR@@%$(libdir)%g;' \
34 -e 's%@@URXVT_NAME@@%urxvt%g;'
35
36POD2MAN = pod2man -n @@RXVT_NAME@@ -r @@RXVT_VERSION@@ -q\" -c "RXVT-UNICODE"
37
25all: 38all:
39 sed $(SEDREPLACE) < $(srcdir)/rxvt.1.man.in >rxvt.1.man
40 sed $(SEDREPLACE) < $(srcdir)/rxvtc.1.man.in >rxvtc.1.man
41 sed $(SEDREPLACE) < $(srcdir)/rxvtd.1.man.in >rxvtd.1.man
42 sed $(SEDREPLACE) < $(srcdir)/rxvt.7.man.in >rxvt.7.man
43 sed $(SEDREPLACE) < $(srcdir)/rclock.1.man.in >rclock.1.man
26 44
27SEDREPLACE = -e 's%@@RXVT_VERSION@@%$(VERSION)%g;'\ 45.INTERMEDIATE: rxvt.7.tbl
28 -e 's%@@RXVT_LSMDATE@@%$(LSMDATE)%g;'\
29 -e 's%@@RXVT_NAME@@%$(RXVTNAME)%g;'\
30 -e 's%@@RXVT_DATE@@%$(DATE)%g;'\
31 -e 's%@@RXVT_MAINTEMAIL@@%$(MAINTEMAIL)%g;'\
32 -e 's%@@RXVT_MAINT@@%$(MAINT)%g;'\
33 -e 's%@@RXVT_WEBPAGE@@%$(WEBPAGE)%g;'\
34 -e 's%@@RXVT_WEBMAINTEMAIL@@%$(WEBMAINTEMAIL)%g;'\
35 -e 's%@@RXVT_WEBMAINT@@%$(WEBMAINT)%g;'
36 46
37%.tbl: %.pod 47%.tbl: %.pod
38 ./podtbl <$< >$@ 48 $(srcdir)/podtbl <$< >$@
39 49
40%.1.man.in: %.1.tbl 50%.1.man.in: %.1.tbl
41 pod2man -n rxvt -r"$(VERSION)" -qnone -s1 -c "RXVT-UNICODE" <$< >$@ 51 $(POD2MAN) -s1 <$< >$@
52
53%.3.man.in: %.3.tbl
54 $(POD2MAN) -s3 <$< >$@
42 55
43%.7.man.in: %.7.tbl 56%.7.man.in: %.7.tbl
44 pod2man -n rxvt -r"$(VERSION)" -qnone -s7 -c "RXVT-UNICODE" <$< >$@ 57 $(POD2MAN) -s7 <$< >$@
45 58
46%.html: %.tbl 59%.html: %.tbl
47 $(SED) $(SEDREPLACE) <$< | pod2html >$@ 60 sed $(SEDREPLACE) <$< | pod2xhtml --css http://res.tst.eu/pod.css >$@
48 61
49%.txt: %.tbl 62%.txt: %.tbl
50 $(SED) $(SEDREPLACE) <$< | pod2text >$@ 63 sed $(SEDREPLACE) <$< | pod2text >$@
51 64
52../README.configure: rxvt.7.tbl 65../README.configure: rxvt.7.tbl
53 $(SED) $(SEDREPLACE) <$< | podselect -section "CONFIGURE OPTIONS" | pod2text >$@ 66 sed $(SEDREPLACE) <$< | podselect -section "CONFIGURE OPTIONS" | pod2text >$@
54 67
55../README.FAQ: rxvt.7.tbl 68../README.FAQ: rxvt.7.tbl
56 $(SED) $(SEDREPLACE) <$< | podselect -section "FREQUENTLY ASKED QUESTIONS" | pod2text >$@ 69 sed $(SEDREPLACE) <$< | podselect -section "RXVT-UNICODE\/URXVT FREQUENTLY ASKED QUESTIONS" | pod2text >$@
70
71$(srcdir)/etc/rxvt-unicode.termcap: $(srcdir)/etc/rxvt-unicode.terminfo
72 tic -C $< >$@
57 73
58tags allbin: 74tags allbin:
59 75
60alldoc: $(basedir)/$(VERNAME).lsm rxvt.1.man.in rxvt.7.man.in rxvt.1.html rxvt.7.html rxvt.1.txt rxvt.7.txt ../README.configure ../README.FAQ 76alldoc: rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in rclock.1.man.in \
77 ../README.configure ../README.FAQ \
78 $(srcdir)/etc/rxvt-unicode.termcap
61 79
62$(basedir)/$(VERNAME).lsm: LSM.in $(srcdir)/../autoconf/Make.common.in 80alldocclean:
63 $(SED) $(SEDREPLACE) < $(srcdir)/LSM.in > $@ 81 rm -f rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in
82 rm -f ../README.configure ../README.FAQ
83 rm -f $(srcdir)/etc/rxvt-unicode.termcap
64 84
65clean: 85clean:
66 $(RMF) *~ 86 rm -f rxvt.1.man rxvt.7.man rxvtc.1.man rxvtd.1.man
67 87
68realclean: clean 88distclean: clean
69 $(RMF) tags rxvt.1.man.in rxvt.7.man.in rxvt.1.html rxvt.7.html rxvt.1.txt rxvt.7.txt ../README.configure ../README.FAQ 89 rm -f Makefile
90
91realclean: distclean alldocclean
70 92
71cleandir: realclean 93cleandir: realclean
72 94
73distclean:
74
75install: 95install: all
76 $(INSTALL) -d $(DESTDIR)$(man1dir) 96 $(INSTALL) -d $(DESTDIR)$(man1dir)
77 $(INSTALL) -d $(DESTDIR)$(man7dir) 97 $(INSTALL) -d $(DESTDIR)$(man7dir)
78 $(SED) $(SEDREPLACE) < rxvt.1.man.in >rxvt.1.man
79 $(INSTALL_DATA) rxvt.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME).$(man1ext) 98 $(INSTALL_DATA) rxvt.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME).$(man1ext)
80 $(SED) $(SEDREPLACE) < rxvt.7.man.in >rxvt.7.man 99 $(INSTALL_DATA) rxvtc.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)c.$(man1ext)
100 $(INSTALL_DATA) rxvtd.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)d.$(man1ext)
81 $(INSTALL_DATA) rxvt.7.man $(DESTDIR)$(man7dir)/$(RXVTNAME).$(man7ext) 101 $(INSTALL_DATA) rxvt.7.man $(DESTDIR)$(man7dir)/$(RXVTNAME).$(man7ext)
82 $(INSTALL_DATA) rxvtc.1 $(DESTDIR)$(man1dir)/$(RXVTNAME)c.$(man1ext) 102 $(INSTALL_DATA) rclock.1.man $(DESTDIR)$(man1dir)/urclock.$(man1ext)
83 $(INSTALL_DATA) rxvtc.1 $(DESTDIR)$(man1dir)/$(RXVTNAME)d.$(man1ext) 103 @TIC@ -x $(srcdir)/etc/rxvt-unicode.terminfo || \
84 if test -x "@TIC@"; then if test -n "@TIC@"; then @TIC@ etc/rxvt-unicode.terminfo; fi; fi 104 @TIC@ $(srcdir)/etc/rxvt-unicode.terminfo
85
86uninstall:
87 -(cd $(mandir); $(RMF) $(RXVTNAME).$(manext) )
88 105
89distdepend: alldoc 106distdepend: alldoc
90 107
91# ------------------------------------------------------------------------
92# DO NOT DELETE: ugly dependency list follows

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines