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.31 by root, Thu Jul 6 19:43:21 2006 UTC vs.
Revision 1.46 by ayin, Sat Nov 10 14:53:14 2007 UTC

13man1ext = 1 13man1ext = 1
14man3dir = @mandir@/man3 14man3dir = @mandir@/man3
15man3ext = 3 15man3ext = 3
16man7dir = @mandir@/man7 16man7dir = @mandir@/man7
17man7ext = 7 17man7ext = 7
18CP = @CP@
19LN = @LN@
20SED = @SED@
21ECHO = @ECHO@
22PERL = @PERL@ 18PERL = @PERL@
23INSTALL = @INSTALL@ 19INSTALL = @INSTALL@
24INSTALL_PROGRAM = @INSTALL@ -m 755 20INSTALL_PROGRAM = @INSTALL@ -m 755
25INSTALL_DATA = @INSTALL@ -m 644 21INSTALL_DATA = @INSTALL@ -m 644
26 22
27srcdir = @srcdir@ 23srcdir = @srcdir@
28VPATH = @srcdir@ 24VPATH = @srcdir@
29.PATH: @srcdir@
30
31basedir = ..
32thisdir = doc
33 25
34first_rule: all 26first_rule: all
35dummy: 27dummy:
36 28
37#------------------------------------------------------------------------- 29#-------------------------------------------------------------------------
38
39all:
40 30
41SEDREPLACE = -e 's%@@RXVT_VERSION@@%$(VERSION)%g;' \ 31SEDREPLACE = -e 's%@@RXVT_VERSION@@%$(VERSION)%g;' \
42 -e 's%@@RXVT_NAME@@%$(RXVTNAME)%g;' \ 32 -e 's%@@RXVT_NAME@@%$(RXVTNAME)%g;' \
43 -e 's%@@RXVT_DATE@@%$(DATE)%g;' \ 33 -e 's%@@RXVT_DATE@@%$(DATE)%g;' \
44 -e 's%@@RXVT_LIBDIR@@%$(libdir)%g;' \ 34 -e 's%@@RXVT_LIBDIR@@%$(libdir)%g;' \
45 -e 's%@@URXVT_NAME@@%urxvt%g;' 35 -e 's%@@URXVT_NAME@@%urxvt%g;'
46 36
37POD2MAN = pod2man -n @@RXVT_NAME@@ -r"$(VERSION)" -q\" -c "RXVT-UNICODE"
38
39all:
40 sed $(SEDREPLACE) < $(srcdir)/rxvt.1.man.in >rxvt.1.man
41 sed $(SEDREPLACE) < $(srcdir)/rxvtc.1.man.in >rxvtc.1.man
42 sed $(SEDREPLACE) < $(srcdir)/rxvtd.1.man.in >rxvtd.1.man
43 sed $(SEDREPLACE) < $(srcdir)/rxvt.7.man.in >rxvt.7.man
44@IF_PERL@ sed $(SEDREPLACE) < $(srcdir)/rxvtperl.3.man.in >rxvtperl.3.man
45
47rxvtperl.3.pod: ../src/urxvt.pm 46rxvtperl.3.pod: ../src/urxvt.pm
48 $(CP) $< $@ 47 cp $< $@
49 48
50%.tbl: %.pod 49%.tbl: %.pod
51 ./podtbl <$< >$@ 50 $(srcdir)/podtbl <$< >$@
52 51
53%.1.man.in: %.1.tbl 52%.1.man.in: %.1.tbl
54 pod2man -n @@RXVT_NAME@@ -r"$(VERSION)" -q\" -s1 -c "RXVT-UNICODE" <$< >$@ 53 $(POD2MAN) -s1 <$< >$@
55 54
56%.3.man.in: %.3.tbl 55%.3.man.in: %.3.tbl
57 pod2man -n @@RXVT_NAME@@ -r"$(VERSION)" -q\" -s3 -c "RXVT-UNICODE" <$< >$@ 56 $(POD2MAN) -s3 <$< >$@
58 57
59%.7.man.in: %.7.tbl 58%.7.man.in: %.7.tbl
60 pod2man -n @@RXVT_NAME@@ -r"$(VERSION)" -q\" -s7 -c "RXVT-UNICODE" <$< >$@ 59 $(POD2MAN) -s7 <$< >$@
61 60
62%.html: %.tbl 61%.html: %.tbl
63 $(SED) $(SEDREPLACE) <$< | pod2html >$@ 62 sed $(SEDREPLACE) <$< | pod2xhtml --css http://res.tst.eu/pod.css >$@
64 63
65%.txt: %.tbl 64%.txt: %.tbl
66 $(SED) $(SEDREPLACE) <$< | pod2text >$@ 65 sed $(SEDREPLACE) <$< | pod2text >$@
67 66
68../README.configure: rxvt.7.tbl 67../README.configure: rxvt.7.tbl
69 $(SED) $(SEDREPLACE) <$< | podselect -section "CONFIGURE OPTIONS" | pod2text >$@ 68 sed $(SEDREPLACE) <$< | podselect -section "CONFIGURE OPTIONS" | pod2text >$@
70 69
71../README.FAQ: rxvt.7.tbl 70../README.FAQ: rxvt.7.tbl
72 $(SED) $(SEDREPLACE) <$< | podselect -section "RXVT-UNICODE\/URXVT FREQUENTLY ASKED QUESTIONS" | pod2text >$@ 71 sed $(SEDREPLACE) <$< | podselect -section "RXVT-UNICODE\/URXVT FREQUENTLY ASKED QUESTIONS" | pod2text >$@
73 72
74tags allbin: 73tags allbin:
75 74
76alldoc: rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in rxvtperl.3.man.in \ 75alldoc: rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in rxvtperl.3.man.in \
77 rxvt.1.txt rxvt.7.txt rxvtc.1.txt rxvtd.1.txt rxvtperl.3.txt \ 76 rxvt.1.txt rxvt.7.txt rxvtc.1.txt rxvtd.1.txt rxvtperl.3.txt \
78 rxvt.1.html rxvt.7.html rxvtc.1.html rxvtd.1.html rxvtperl.3.html \ 77 rxvt.1.html rxvt.7.html rxvtc.1.html rxvtd.1.html rxvtperl.3.html \
79 ../README.configure ../README.FAQ 78 ../README.configure ../README.FAQ
80 infocmp -C rxvt-unicode >etc/rxvt-unicode.termcap 79 infocmp -C rxvt-unicode >$(srcdir)/etc/rxvt-unicode.termcap
81 80
82clean: 81clean:
83 rm -f *~ 82 rm -f *~
83 rm -f rxvt.1.man rxvt.7.man rxvtc.1.man rxvtd.1.man rxvtperl.3.man
84 84
85distclean: clean
86 rm -f Makefile
87
85realclean: clean 88realclean: distclean
89 rm -f rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in rxvtperl.3.man.in
90 rm -f rxvt.1.txt rxvt.7.txt rxvtc.1.txt rxvtd.1.txt rxvtperl.3.txt
91 rm -f rxvt.1.html rxvt.7.html rxvtc.1.html rxvtd.1.html rxvtperl.3.html
86 rm -f tags ../README.configure ../README.FAQ 92 rm -f ../README.configure ../README.FAQ
87 rm -f rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in 93 rm -f $(srcdir)/etc/rxvt-unicode.termcap
88 rm -f rxvt.1.man rxvt.7.man rxvtc.1.man rxvtd.1.man
89 rm -f rxvt.1.txt rxvt.7.txt rxvtc.1.txt rxvtd.1.txt
90 rm -f rxvt.1.html rxvt.7.html rxvtc.1.html rxvtd.1.html
91 94
92cleandir: realclean 95cleandir: realclean
93 96
94distclean:
95
96install: 97install:
97 $(INSTALL) -d $(DESTDIR)$(man1dir) 98 $(INSTALL) -d $(DESTDIR)$(man1dir)
98 $(SED) $(SEDREPLACE) < rxvt.1.man.in >rxvt.1.man 99 $(INSTALL) -d $(DESTDIR)$(man7dir)
99 $(INSTALL_DATA) rxvt.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME).$(man1ext) 100 $(INSTALL_DATA) rxvt.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME).$(man1ext)
100 $(SED) $(SEDREPLACE) < rxvtc.1.man.in >rxvtc.1.man
101 $(INSTALL_DATA) rxvtc.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)c.$(man1ext) 101 $(INSTALL_DATA) rxvtc.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)c.$(man1ext)
102 $(SED) $(SEDREPLACE) < rxvtd.1.man.in >rxvtd.1.man
103 $(INSTALL_DATA) rxvtd.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)d.$(man1ext) 102 $(INSTALL_DATA) rxvtd.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)d.$(man1ext)
104 $(INSTALL) -d $(DESTDIR)$(man7dir)
105 $(SED) $(SEDREPLACE) < rxvt.7.man.in >rxvt.7.man
106 $(INSTALL_DATA) rxvt.7.man $(DESTDIR)$(man7dir)/$(RXVTNAME).$(man7ext) 103 $(INSTALL_DATA) rxvt.7.man $(DESTDIR)$(man7dir)/$(RXVTNAME).$(man7ext)
107@IF_PERL@ $(INSTALL) -d $(DESTDIR)$(man3dir) 104@IF_PERL@ $(INSTALL) -d $(DESTDIR)$(man3dir)
108@IF_PERL@ $(SED) $(SEDREPLACE) < rxvtperl.3.man.in >rxvtperl.3.man
109@IF_PERL@ $(INSTALL_DATA) rxvtperl.3.man $(DESTDIR)$(man3dir)/$(RXVTNAME)perl.$(man3ext) 105@IF_PERL@ $(INSTALL_DATA) rxvtperl.3.man $(DESTDIR)$(man3dir)/$(RXVTNAME)perl.$(man3ext)
110 if test -x "@TIC@"; then if test -n "@TIC@"; then @TIC@ etc/rxvt-unicode.terminfo; fi; fi 106 @TIC@ $(srcdir)/etc/rxvt-unicode.terminfo
111
112uninstall:
113 -(cd $(mandir); rm -f $(RXVTNAME).$(manext) )
114 107
115distdepend: alldoc 108distdepend: alldoc
116 109
117# ------------------------------------------------------------------------
118# DO NOT DELETE: ugly dependency list follows

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines