ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/rxvt-unicode/doc/Makefile.in
Revision: 1.54
Committed: Tue Dec 13 14:41:42 2011 UTC (14 years, 9 months ago) by sf-exg
Branch: MAIN
CVS Tags: rel-9_14
Changes since 1.53: +5 -2 lines
Log Message:
Add makefile rule for the termcap file.

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.50 POD2MAN = pod2man -n @@RXVT_NAME@@ -r @@RXVT_VERSION@@ -q\" -c "RXVT-UNICODE"
38 ayin 1.46
39 ayin 1.34 all:
40 root 1.44 sed $(SEDREPLACE) < $(srcdir)/rxvt.1.man.in >rxvt.1.man
41 ayin 1.42 sed $(SEDREPLACE) < $(srcdir)/rxvtc.1.man.in >rxvtc.1.man
42     sed $(SEDREPLACE) < $(srcdir)/rxvtd.1.man.in >rxvtd.1.man
43 root 1.44 sed $(SEDREPLACE) < $(srcdir)/rxvt.7.man.in >rxvt.7.man
44 ayin 1.42 @IF_PERL@ sed $(SEDREPLACE) < $(srcdir)/rxvtperl.3.man.in >rxvtperl.3.man
45 ayin 1.34
46 sf-exg 1.53 .INTERMEDIATE: rxvtperl.3.pod rxvt.7.tbl
47    
48 root 1.24 rxvtperl.3.pod: ../src/urxvt.pm
49 ayin 1.42 cp $< $@
50 root 1.14
51 root 1.19 %.tbl: %.pod
52 root 1.33 $(srcdir)/podtbl <$< >$@
53 root 1.14
54 root 1.19 %.1.man.in: %.1.tbl
55 ayin 1.46 $(POD2MAN) -s1 <$< >$@
56 root 1.14
57 root 1.24 %.3.man.in: %.3.tbl
58 ayin 1.46 $(POD2MAN) -s3 <$< >$@
59 root 1.24
60 root 1.19 %.7.man.in: %.7.tbl
61 ayin 1.46 $(POD2MAN) -s7 <$< >$@
62 root 1.14
63 root 1.19 %.html: %.tbl
64 root 1.43 sed $(SEDREPLACE) <$< | pod2xhtml --css http://res.tst.eu/pod.css >$@
65 root 1.14
66 root 1.19 %.txt: %.tbl
67 ayin 1.42 sed $(SEDREPLACE) <$< | pod2text >$@
68 pcg 1.1
69 root 1.19 ../README.configure: rxvt.7.tbl
70 ayin 1.42 sed $(SEDREPLACE) <$< | podselect -section "CONFIGURE OPTIONS" | pod2text >$@
71 pcg 1.1
72 root 1.19 ../README.FAQ: rxvt.7.tbl
73 ayin 1.42 sed $(SEDREPLACE) <$< | podselect -section "RXVT-UNICODE\/URXVT FREQUENTLY ASKED QUESTIONS" | pod2text >$@
74 pcg 1.1
75 sf-exg 1.54 $(srcdir)/etc/rxvt-unicode.termcap: $(srcdir)/etc/rxvt-unicode.terminfo
76     tic -C $< >$@
77    
78 pcg 1.1 tags allbin:
79    
80 ayin 1.49 alldoc: rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in rxvtperl.3.man.in \
81 sf-exg 1.54 ../README.configure ../README.FAQ \
82     $(srcdir)/etc/rxvt-unicode.termcap
83 pcg 1.1
84     clean:
85 ayin 1.38 rm -f rxvt.1.man rxvt.7.man rxvtc.1.man rxvtd.1.man rxvtperl.3.man
86 pcg 1.1
87 ayin 1.39 distclean: clean
88     rm -f Makefile
89    
90     realclean: distclean
91 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
92     rm -f ../README.configure ../README.FAQ
93     rm -f $(srcdir)/etc/rxvt-unicode.termcap
94 pcg 1.1
95     cleandir: realclean
96    
97 root 1.47 install: all
98 root 1.14 $(INSTALL) -d $(DESTDIR)$(man1dir)
99 root 1.44 $(INSTALL) -d $(DESTDIR)$(man7dir)
100     $(INSTALL_DATA) rxvt.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME).$(man1ext)
101 root 1.23 $(INSTALL_DATA) rxvtc.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)c.$(man1ext)
102     $(INSTALL_DATA) rxvtd.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)d.$(man1ext)
103 root 1.44 $(INSTALL_DATA) rxvt.7.man $(DESTDIR)$(man7dir)/$(RXVTNAME).$(man7ext)
104 root 1.24 @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(man3dir)
105     @IF_PERL@ $(INSTALL_DATA) rxvtperl.3.man $(DESTDIR)$(man3dir)/$(RXVTNAME)perl.$(man3ext)
106 ayin 1.45 @TIC@ $(srcdir)/etc/rxvt-unicode.terminfo
107 pcg 1.1
108     distdepend: alldoc
109