ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/rxvt-unicode/doc/Makefile.in
Revision: 1.44
Committed: Wed Aug 1 18:38:15 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
CVS Tags: rel-8_3
Changes since 1.43: +5 -7 lines
Log Message:
fix lots of configure bugs

File Contents

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