ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/Makefile.in
Revision: 1.45
Committed: Tue Sep 18 12:17:59 2007 UTC (16 years, 9 months ago) by ayin
Branch: MAIN
CVS Tags: rel-8_4
Changes since 1.44: +1 -1 lines
Log Message:
Simplify rule to install terminfo entry.

File Contents

# User Rev Content
1 pcg 1.1 # doc/Makefile.in -*- Makefile -*-
2    
3 ayin 1.27 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 pcg 1.1 srcdir = @srcdir@
24     VPATH = @srcdir@
25    
26     first_rule: all
27     dummy:
28    
29     #-------------------------------------------------------------------------
30    
31 root 1.24 SEDREPLACE = -e 's%@@RXVT_VERSION@@%$(VERSION)%g;' \
32     -e 's%@@RXVT_NAME@@%$(RXVTNAME)%g;' \
33     -e 's%@@RXVT_DATE@@%$(DATE)%g;' \
34 root 1.30 -e 's%@@RXVT_LIBDIR@@%$(libdir)%g;' \
35     -e 's%@@URXVT_NAME@@%urxvt%g;'
36 root 1.24
37 ayin 1.34 all:
38 root 1.44 sed $(SEDREPLACE) < $(srcdir)/rxvt.1.man.in >rxvt.1.man
39 ayin 1.42 sed $(SEDREPLACE) < $(srcdir)/rxvtc.1.man.in >rxvtc.1.man
40     sed $(SEDREPLACE) < $(srcdir)/rxvtd.1.man.in >rxvtd.1.man
41 root 1.44 sed $(SEDREPLACE) < $(srcdir)/rxvt.7.man.in >rxvt.7.man
42 ayin 1.42 @IF_PERL@ sed $(SEDREPLACE) < $(srcdir)/rxvtperl.3.man.in >rxvtperl.3.man
43 ayin 1.34
44 root 1.24 rxvtperl.3.pod: ../src/urxvt.pm
45 ayin 1.42 cp $< $@
46 root 1.14
47 root 1.19 %.tbl: %.pod
48 root 1.33 $(srcdir)/podtbl <$< >$@
49 root 1.14
50 root 1.19 %.1.man.in: %.1.tbl
51 root 1.31 pod2man -n @@RXVT_NAME@@ -r"$(VERSION)" -q\" -s1 -c "RXVT-UNICODE" <$< >$@
52 root 1.14
53 root 1.24 %.3.man.in: %.3.tbl
54 root 1.31 pod2man -n @@RXVT_NAME@@ -r"$(VERSION)" -q\" -s3 -c "RXVT-UNICODE" <$< >$@
55 root 1.24
56 root 1.19 %.7.man.in: %.7.tbl
57 root 1.31 pod2man -n @@RXVT_NAME@@ -r"$(VERSION)" -q\" -s7 -c "RXVT-UNICODE" <$< >$@
58 root 1.14
59 root 1.19 %.html: %.tbl
60 root 1.43 sed $(SEDREPLACE) <$< | pod2xhtml --css http://res.tst.eu/pod.css >$@
61 root 1.14
62 root 1.19 %.txt: %.tbl
63 ayin 1.42 sed $(SEDREPLACE) <$< | pod2text >$@
64 pcg 1.1
65 root 1.19 ../README.configure: rxvt.7.tbl
66 ayin 1.42 sed $(SEDREPLACE) <$< | podselect -section "CONFIGURE OPTIONS" | pod2text >$@
67 pcg 1.1
68 root 1.19 ../README.FAQ: rxvt.7.tbl
69 ayin 1.42 sed $(SEDREPLACE) <$< | podselect -section "RXVT-UNICODE\/URXVT FREQUENTLY ASKED QUESTIONS" | pod2text >$@
70 pcg 1.1
71     tags allbin:
72    
73 root 1.24 alldoc: rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in rxvtperl.3.man.in \
74 root 1.25 rxvt.1.txt rxvt.7.txt rxvtc.1.txt rxvtd.1.txt rxvtperl.3.txt \
75 root 1.24 rxvt.1.html rxvt.7.html rxvtc.1.html rxvtd.1.html rxvtperl.3.html \
76 root 1.23 ../README.configure ../README.FAQ
77 root 1.33 infocmp -C rxvt-unicode >$(srcdir)/etc/rxvt-unicode.termcap
78 pcg 1.1
79     clean:
80 ayin 1.29 rm -f *~
81 ayin 1.38 rm -f rxvt.1.man rxvt.7.man rxvtc.1.man rxvtd.1.man rxvtperl.3.man
82 pcg 1.1
83 ayin 1.39 distclean: clean
84     rm -f Makefile
85    
86     realclean: distclean
87 ayin 1.38 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 pcg 1.1
93     cleandir: realclean
94    
95 root 1.14 install:
96     $(INSTALL) -d $(DESTDIR)$(man1dir)
97 root 1.44 $(INSTALL) -d $(DESTDIR)$(man7dir)
98     $(INSTALL_DATA) rxvt.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME).$(man1ext)
99 root 1.23 $(INSTALL_DATA) rxvtc.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)c.$(man1ext)
100     $(INSTALL_DATA) rxvtd.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)d.$(man1ext)
101 root 1.44 $(INSTALL_DATA) rxvt.7.man $(DESTDIR)$(man7dir)/$(RXVTNAME).$(man7ext)
102 root 1.24 @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(man3dir)
103     @IF_PERL@ $(INSTALL_DATA) rxvtperl.3.man $(DESTDIR)$(man3dir)/$(RXVTNAME)perl.$(man3ext)
104 ayin 1.45 @TIC@ $(srcdir)/etc/rxvt-unicode.terminfo
105 pcg 1.1
106     distdepend: alldoc
107