ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/Makefile.in
Revision: 1.29
Committed: Mon Jan 23 09:56:47 2006 UTC (18 years, 5 months ago) by ayin
Branch: MAIN
CVS Tags: rel-7_3a, rel-7_3, rel-7_5, rel-7_4
Changes since 1.28: +7 -9 lines
Log Message:
*** empty log message ***

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