ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/Makefile.in
Revision: 1.26
Committed: Mon Jan 16 17:18:01 2006 UTC (18 years, 5 months ago) by ayin
Branch: MAIN
Changes since 1.25: +0 -1 lines
Log Message:
*** empty log message ***

File Contents

# Content
1 # doc/Makefile.in -*- Makefile -*-
2
3 srcdir = @srcdir@
4 VPATH = @srcdir@
5 .PATH: @srcdir@
6
7 basedir = ..
8 thisdir = doc
9
10 first_rule: all
11 dummy:
12
13 #-------------------------------------------------------------------------
14
15 all:
16
17 SEDREPLACE = -e 's%@@RXVT_VERSION@@%$(VERSION)%g;' \
18 -e 's%@@RXVT_NAME@@%$(RXVTNAME)%g;' \
19 -e 's%@@RXVT_DATE@@%$(DATE)%g;' \
20 -e 's%@@RXVT_LIBDIR@@%$(libdir)%g;'
21
22 rxvtperl.3.pod: ../src/urxvt.pm
23 cp $< $@
24
25 %.tbl: %.pod
26 ./podtbl <$< >$@
27
28 %.1.man.in: %.1.tbl
29 pod2man -n rxvt -r"$(VERSION)" -q\" -s1 -c "RXVT-UNICODE" <$< >$@
30
31 %.3.man.in: %.3.tbl
32 pod2man -n rxvt -r"$(VERSION)" -q\" -s3 -c "RXVT-UNICODE" <$< >$@
33
34 %.7.man.in: %.7.tbl
35 pod2man -n rxvt -r"$(VERSION)" -q\" -s7 -c "RXVT-UNICODE" <$< >$@
36
37 %.html: %.tbl
38 $(SED) $(SEDREPLACE) <$< | pod2html >$@
39
40 %.txt: %.tbl
41 $(SED) $(SEDREPLACE) <$< | pod2text >$@
42
43 ../README.configure: rxvt.7.tbl
44 $(SED) $(SEDREPLACE) <$< | podselect -section "CONFIGURE OPTIONS" | pod2text >$@
45
46 ../README.FAQ: rxvt.7.tbl
47 $(SED) $(SEDREPLACE) <$< | podselect -section "FREQUENTLY ASKED QUESTIONS" | pod2text >$@
48
49 tags allbin:
50
51 alldoc: rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in rxvtperl.3.man.in \
52 rxvt.1.txt rxvt.7.txt rxvtc.1.txt rxvtd.1.txt rxvtperl.3.txt \
53 rxvt.1.html rxvt.7.html rxvtc.1.html rxvtd.1.html rxvtperl.3.html \
54 ../README.configure ../README.FAQ
55 infocmp -C rxvt-unicode >etc/rxvt-unicode.termcap
56
57 clean:
58 $(RMF) *~
59
60 realclean: clean
61 $(RMF) tags ../README.configure ../README.FAQ
62 $(RMF) rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in
63 $(RMF) rxvt.1.man rxvt.7.man rxvtc.1.man rxvtd.1.man
64 $(RMF) rxvt.1.txt rxvt.7.txt rxvtc.1.txt rxvtd.1.txt
65 $(RMF) rxvt.1.html rxvt.7.html rxvtc.1.html rxvtd.1.html
66
67 cleandir: realclean
68
69 distclean:
70
71 install:
72 $(INSTALL) -d $(DESTDIR)$(man1dir)
73 $(SED) $(SEDREPLACE) < rxvt.1.man.in >rxvt.1.man
74 $(INSTALL_DATA) rxvt.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME).$(man1ext)
75 $(SED) $(SEDREPLACE) < rxvtc.1.man.in >rxvtc.1.man
76 $(INSTALL_DATA) rxvtc.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)c.$(man1ext)
77 $(SED) $(SEDREPLACE) < rxvtd.1.man.in >rxvtd.1.man
78 $(INSTALL_DATA) rxvtd.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)d.$(man1ext)
79 $(INSTALL) -d $(DESTDIR)$(man7dir)
80 $(SED) $(SEDREPLACE) < rxvt.7.man.in >rxvt.7.man
81 $(INSTALL_DATA) rxvt.7.man $(DESTDIR)$(man7dir)/$(RXVTNAME).$(man7ext)
82 @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(man3dir)
83 @IF_PERL@ $(SED) $(SEDREPLACE) < rxvtperl.3.man.in >rxvtperl.3.man
84 @IF_PERL@ $(INSTALL_DATA) rxvtperl.3.man $(DESTDIR)$(man3dir)/$(RXVTNAME)perl.$(man3ext)
85 if test -x "@TIC@"; then if test -n "@TIC@"; then @TIC@ etc/rxvt-unicode.terminfo; fi; fi
86
87 uninstall:
88 -(cd $(mandir); $(RMF) $(RXVTNAME).$(manext) )
89
90 distdepend: alldoc
91
92 # ------------------------------------------------------------------------
93 # DO NOT DELETE: ugly dependency list follows