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.16 by root, Sun Aug 22 22:25:11 2004 UTC vs.
Revision 1.56 by sf-exg, Mon Dec 26 15:44:01 2011 UTC

1# doc/Makefile.in -*- Makefile -*- 1# doc/Makefile.in -*- Makefile -*-
2# $Id: Makefile.in,v 1.16 2004/08/22 22:25:11 root Exp $ 2
3@MCOMMON@ 3DATE=@DATE@
4VERSION=@VERSION@
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
4 21
5srcdir = @srcdir@ 22srcdir = @srcdir@
6VPATH = @srcdir@ 23VPATH = @srcdir@
7.PATH: @srcdir@
8
9basedir = ..
10thisdir = doc
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@IF_PERL@ sed $(SEDREPLACE) < $(srcdir)/rxvtperl.3.man.in >rxvtperl.3.man
26 44
27SEDREPLACE = -e 's%@@RXVT_VERSION@@%$(VERSION)%g;'\ 45.INTERMEDIATE: rxvtperl.3.pod 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
37rxvt.1.man: rxvt.1.pod 47rxvtperl.3.pod: ../src/urxvt.pm
38 $(SED) $(SEDREPLACE) < $< | ./podtbl | pod2man -n rxvt -qnone -s1 -c "RXVT-UNICODE" >$@ 48 cp $< $@
39 49
40rxvt.7.man: rxvt.7.pod 50%.tbl: %.pod
41 $(SED) $(SEDREPLACE) < $< | ./podtbl | pod2man -n rxvt -qnone -s7 -c "RXVT-UNICODE" >$@ 51 $(srcdir)/podtbl <$< >$@
42 52
43rxvt.1.html: rxvt.1.pod 53%.1.man.in: %.1.tbl
44 $(SED) $(SEDREPLACE) < $< | ./podtbl | pod2html >$@ 54 $(POD2MAN) -s1 <$< >$@
45 55
46rxvt.7.html: rxvt.7.pod 56%.3.man.in: %.3.tbl
47 $(SED) $(SEDREPLACE) < $< | ./podtbl | pod2html >$@ 57 $(POD2MAN) -s3 <$< >$@
48 58
49rxvt.1.txt: rxvt.1.pod 59%.7.man.in: %.7.tbl
50 $(SED) $(SEDREPLACE) < $< | ./podtbl | pod2text >$@ 60 $(POD2MAN) -s7 <$< >$@
51 61
52rxvt.7.txt: rxvt.7.pod 62%.html: %.tbl
53 $(SED) $(SEDREPLACE) < $< | ./podtbl | pod2text >$@ 63 sed $(SEDREPLACE) <$< | pod2xhtml --css http://res.tst.eu/pod.css >$@
54 64
65%.txt: %.tbl
66 sed $(SEDREPLACE) <$< | pod2text >$@
67
55../README.configure: rxvt.7.pod 68../README.configure: rxvt.7.tbl
56 $(SED) $(SEDREPLACE) < $< | ./podtbl | podselect -section "CONFIGURE OPTIONS" | pod2text >$@ 69 sed $(SEDREPLACE) <$< | podselect -section "CONFIGURE OPTIONS" | pod2text >$@
70
71../README.FAQ: rxvt.7.tbl
72 sed $(SEDREPLACE) <$< | podselect -section "RXVT-UNICODE\/URXVT FREQUENTLY ASKED QUESTIONS" | pod2text >$@
73
74$(srcdir)/etc/rxvt-unicode.termcap: $(srcdir)/etc/rxvt-unicode.terminfo
75 tic -C $< >$@
57 76
58tags allbin: 77tags allbin:
59 78
60alldoc: $(basedir)/$(VERNAME).lsm rxvt.1.man rxvt.7.man rxvt.1.html rxvt.7.html rxvt.1.txt rxvt.7.txt ../README.configure 79alldoc: rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in rxvtperl.3.man.in \
61 80 ../README.configure ../README.FAQ \
62$(basedir)/$(VERNAME).lsm: LSM.in $(srcdir)/../autoconf/Make.common.in 81 $(srcdir)/etc/rxvt-unicode.termcap
63 $(SED) $(SEDREPLACE) < $(srcdir)/LSM.in > $@
64 82
65clean: 83clean:
66 $(RMF) *~ 84 rm -f rxvt.1.man rxvt.7.man rxvtc.1.man rxvtd.1.man rxvtperl.3.man
67 85
86distclean: clean
87 rm -f Makefile
88
68realclean: clean 89realclean: distclean
69 $(RMF) tags rxvt.1.man rxvt.7.man rxvt.1.html rxvt.7.htmlrxvt.1.txt rxvt.7.txt 90 rm -f rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in rxvtperl.3.man.in
91 rm -f ../README.configure ../README.FAQ
92 rm -f $(srcdir)/etc/rxvt-unicode.termcap
70 93
71cleandir: realclean 94cleandir: realclean
72 95
73distclean:
74
75install: 96install: all
76 $(INSTALL) -d $(DESTDIR)$(man1dir) 97 $(INSTALL) -d $(DESTDIR)$(man1dir)
77 $(INSTALL) -d $(DESTDIR)$(man7dir) 98 $(INSTALL) -d $(DESTDIR)$(man7dir)
78 $(INSTALL_DATA) rxvt.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME).$(man1ext) 99 $(INSTALL_DATA) rxvt.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME).$(man1ext)
100 $(INSTALL_DATA) rxvtc.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)c.$(man1ext)
101 $(INSTALL_DATA) rxvtd.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)d.$(man1ext)
79 $(INSTALL_DATA) rxvt.7.man $(DESTDIR)$(man7dir)/$(RXVTNAME).$(man7ext) 102 $(INSTALL_DATA) rxvt.7.man $(DESTDIR)$(man7dir)/$(RXVTNAME).$(man7ext)
103@IF_PERL@ $(INSTALL) -d $(DESTDIR)$(man3dir)
80 $(INSTALL_DATA) rxvtc.1 $(DESTDIR)$(man1dir)/$(RXVTNAME)c.$(man1ext) 104@IF_PERL@ $(INSTALL_DATA) rxvtperl.3.man $(DESTDIR)$(man3dir)/$(RXVTNAME)perl.$(man3ext)
81 $(INSTALL_DATA) rxvtc.1 $(DESTDIR)$(man1dir)/$(RXVTNAME)d.$(man1ext) 105 @TIC@ $(srcdir)/etc/rxvt-unicode.terminfo
82 if test -x "@TIC@"; then if test -n "@TIC@"; then @TIC@ etc/rxvt-unicode.terminfo; fi; fi
83
84uninstall:
85 -(cd $(mandir); $(RMF) $(RXVTNAME).$(manext) )
86 106
87distdepend: alldoc 107distdepend: alldoc
88 108
89# ------------------------------------------------------------------------
90# DO NOT DELETE: ugly dependency list follows

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines