ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/Makefile.in
Revision: 1.52
Committed: Sat Apr 3 17:31:34 2010 UTC (14 years, 3 months ago) by sf-exg
Branch: MAIN
CVS Tags: rel-9_11, rel-9_10, rel-9_12, rel-9_09
Changes since 1.51: +1 -1 lines
Log Message:
Use tic to generate 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 root 1.24 rxvtperl.3.pod: ../src/urxvt.pm
47 ayin 1.42 cp $< $@
48 root 1.14
49 root 1.19 %.tbl: %.pod
50 root 1.33 $(srcdir)/podtbl <$< >$@
51 root 1.14
52 root 1.19 %.1.man.in: %.1.tbl
53 ayin 1.46 $(POD2MAN) -s1 <$< >$@
54 root 1.14
55 root 1.24 %.3.man.in: %.3.tbl
56 ayin 1.46 $(POD2MAN) -s3 <$< >$@
57 root 1.24
58 root 1.19 %.7.man.in: %.7.tbl
59 ayin 1.46 $(POD2MAN) -s7 <$< >$@
60 root 1.14
61 root 1.19 %.html: %.tbl
62 root 1.43 sed $(SEDREPLACE) <$< | pod2xhtml --css http://res.tst.eu/pod.css >$@
63 root 1.14
64 root 1.19 %.txt: %.tbl
65 ayin 1.42 sed $(SEDREPLACE) <$< | pod2text >$@
66 pcg 1.1
67 root 1.19 ../README.configure: rxvt.7.tbl
68 ayin 1.42 sed $(SEDREPLACE) <$< | podselect -section "CONFIGURE OPTIONS" | pod2text >$@
69 pcg 1.1
70 root 1.19 ../README.FAQ: rxvt.7.tbl
71 ayin 1.42 sed $(SEDREPLACE) <$< | podselect -section "RXVT-UNICODE\/URXVT FREQUENTLY ASKED QUESTIONS" | pod2text >$@
72 pcg 1.1
73     tags allbin:
74    
75 ayin 1.49 alldoc: rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in rxvtperl.3.man.in \
76 root 1.23 ../README.configure ../README.FAQ
77 sf-exg 1.52 tic -C $(srcdir)/etc/rxvt-unicode.terminfo >$(srcdir)/etc/rxvt-unicode.termcap
78 pcg 1.1
79     clean:
80 ayin 1.38 rm -f rxvt.1.man rxvt.7.man rxvtc.1.man rxvtd.1.man rxvtperl.3.man
81 pcg 1.1
82 ayin 1.39 distclean: clean
83     rm -f Makefile
84    
85     realclean: distclean
86 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
87     rm -f ../README.configure ../README.FAQ
88     rm -f $(srcdir)/etc/rxvt-unicode.termcap
89 pcg 1.1
90     cleandir: realclean
91    
92 root 1.47 install: all
93 root 1.14 $(INSTALL) -d $(DESTDIR)$(man1dir)
94 root 1.44 $(INSTALL) -d $(DESTDIR)$(man7dir)
95     $(INSTALL_DATA) rxvt.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME).$(man1ext)
96 root 1.23 $(INSTALL_DATA) rxvtc.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)c.$(man1ext)
97     $(INSTALL_DATA) rxvtd.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)d.$(man1ext)
98 root 1.44 $(INSTALL_DATA) rxvt.7.man $(DESTDIR)$(man7dir)/$(RXVTNAME).$(man7ext)
99 root 1.24 @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(man3dir)
100     @IF_PERL@ $(INSTALL_DATA) rxvtperl.3.man $(DESTDIR)$(man3dir)/$(RXVTNAME)perl.$(man3ext)
101 ayin 1.45 @TIC@ $(srcdir)/etc/rxvt-unicode.terminfo
102 pcg 1.1
103     distdepend: alldoc
104