ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/Makefile.in
(Generate patch)

Comparing rxvt-unicode/doc/Makefile.in (file contents):
Revision 1.20 by root, Fri Feb 11 18:06:44 2005 UTC vs.
Revision 1.46 by ayin, Sat Nov 10 14:53:14 2007 UTC

1# doc/Makefile.in -*- Makefile -*- 1# doc/Makefile.in -*- Makefile -*-
2# $Id: Makefile.in,v 1.20 2005/02/11 18:06:44 root Exp $ 2
3@MCOMMON@ 3DATE=@DATE@
4VERSION=@VERSION@
5RXVTNAME=@RXVTNAME@
6SHELL = /bin/sh
7prefix = @prefix@
8exec_prefix = @exec_prefix@
9bindir = @bindir@
10libdir = @libdir@
11includedir = @includedir@
12man1dir = @mandir@/man1
13man1ext = 1
14man3dir = @mandir@/man3
15man3ext = 3
16man7dir = @mandir@/man7
17man7ext = 7
18PERL = @PERL@
19INSTALL = @INSTALL@
20INSTALL_PROGRAM = @INSTALL@ -m 755
21INSTALL_DATA = @INSTALL@ -m 644
4 22
5srcdir = @srcdir@ 23srcdir = @srcdir@
6VPATH = @srcdir@ 24VPATH = @srcdir@
7.PATH: @srcdir@
8
9basedir = ..
10thisdir = doc
11 25
12first_rule: all 26first_rule: all
13dummy: 27dummy:
14 28
15DIST_ETC = etc/rxvt.termcap etc/rxvt.terminfo etc/XTerm.ad
16DIST_POD = rxvt.1.pod rxvt.7.pod
17DIST_MENU = menu/menu menu/example.menu menu/rxvt.menu menu/rxvt.zh-menu\
18 menu/terminal.menu menu/jedmenu.sl
19DIST = Makefile.in README.menu README.xvt BUGS FAQ TODO\
20 changes.txt xterm.seq LSM.in \
21 rxvt.1.man rxvt.7.man rxvt.1.html rxvt.7.html rxvt.1.txt rxvt.7.txt
22
23#------------------------------------------------------------------------- 29#-------------------------------------------------------------------------
24 30
31SEDREPLACE = -e 's%@@RXVT_VERSION@@%$(VERSION)%g;' \
32 -e 's%@@RXVT_NAME@@%$(RXVTNAME)%g;' \
33 -e 's%@@RXVT_DATE@@%$(DATE)%g;' \
34 -e 's%@@RXVT_LIBDIR@@%$(libdir)%g;' \
35 -e 's%@@URXVT_NAME@@%urxvt%g;'
36
37POD2MAN = pod2man -n @@RXVT_NAME@@ -r"$(VERSION)" -q\" -c "RXVT-UNICODE"
38
25all: 39all:
40 sed $(SEDREPLACE) < $(srcdir)/rxvt.1.man.in >rxvt.1.man
41 sed $(SEDREPLACE) < $(srcdir)/rxvtc.1.man.in >rxvtc.1.man
42 sed $(SEDREPLACE) < $(srcdir)/rxvtd.1.man.in >rxvtd.1.man
43 sed $(SEDREPLACE) < $(srcdir)/rxvt.7.man.in >rxvt.7.man
44@IF_PERL@ sed $(SEDREPLACE) < $(srcdir)/rxvtperl.3.man.in >rxvtperl.3.man
26 45
27SEDREPLACE = -e 's%@@RXVT_VERSION@@%$(VERSION)%g;'\ 46rxvtperl.3.pod: ../src/urxvt.pm
28 -e 's%@@RXVT_LSMDATE@@%$(LSMDATE)%g;'\ 47 cp $< $@
29 -e 's%@@RXVT_NAME@@%$(RXVTNAME)%g;'\
30 -e 's%@@RXVT_DATE@@%$(DATE)%g;'\
31 -e 's%@@RXVT_MAINTEMAIL@@%$(MAINTEMAIL)%g;'\
32 -e 's%@@RXVT_MAINT@@%$(MAINT)%g;'\
33 -e 's%@@RXVT_WEBPAGE@@%$(WEBPAGE)%g;'\
34 -e 's%@@RXVT_WEBMAINTEMAIL@@%$(WEBMAINTEMAIL)%g;'\
35 -e 's%@@RXVT_WEBMAINT@@%$(WEBMAINT)%g;'
36 48
37%.tbl: %.pod 49%.tbl: %.pod
38 ./podtbl <$< >$@ 50 $(srcdir)/podtbl <$< >$@
39 51
40%.1.man.in: %.1.tbl 52%.1.man.in: %.1.tbl
41 pod2man -n rxvt -r"$(VERSION)" -q\" -s1 -c "RXVT-UNICODE" <$< >$@ 53 $(POD2MAN) -s1 <$< >$@
54
55%.3.man.in: %.3.tbl
56 $(POD2MAN) -s3 <$< >$@
42 57
43%.7.man.in: %.7.tbl 58%.7.man.in: %.7.tbl
44 pod2man -n rxvt -r"$(VERSION)" -q\" -s7 -c "RXVT-UNICODE" <$< >$@ 59 $(POD2MAN) -s7 <$< >$@
45 60
46%.html: %.tbl 61%.html: %.tbl
47 $(SED) $(SEDREPLACE) <$< | pod2html >$@ 62 sed $(SEDREPLACE) <$< | pod2xhtml --css http://res.tst.eu/pod.css >$@
48 63
49%.txt: %.tbl 64%.txt: %.tbl
50 $(SED) $(SEDREPLACE) <$< | pod2text >$@ 65 sed $(SEDREPLACE) <$< | pod2text >$@
51 66
52../README.configure: rxvt.7.tbl 67../README.configure: rxvt.7.tbl
53 $(SED) $(SEDREPLACE) <$< | podselect -section "CONFIGURE OPTIONS" | pod2text >$@ 68 sed $(SEDREPLACE) <$< | podselect -section "CONFIGURE OPTIONS" | pod2text >$@
54 69
55../README.FAQ: rxvt.7.tbl 70../README.FAQ: rxvt.7.tbl
56 $(SED) $(SEDREPLACE) <$< | podselect -section "FREQUENTLY ASKED QUESTIONS" | pod2text >$@ 71 sed $(SEDREPLACE) <$< | podselect -section "RXVT-UNICODE\/URXVT FREQUENTLY ASKED QUESTIONS" | pod2text >$@
57 72
58tags allbin: 73tags allbin:
59 74
60alldoc: $(basedir)/$(VERNAME).lsm rxvt.1.man.in rxvt.7.man.in rxvt.1.html rxvt.7.html rxvt.1.txt rxvt.7.txt ../README.configure ../README.FAQ 75alldoc: rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in rxvtperl.3.man.in \
61 76 rxvt.1.txt rxvt.7.txt rxvtc.1.txt rxvtd.1.txt rxvtperl.3.txt \
62$(basedir)/$(VERNAME).lsm: LSM.in $(srcdir)/../autoconf/Make.common.in 77 rxvt.1.html rxvt.7.html rxvtc.1.html rxvtd.1.html rxvtperl.3.html \
63 $(SED) $(SEDREPLACE) < $(srcdir)/LSM.in > $@ 78 ../README.configure ../README.FAQ
79 infocmp -C rxvt-unicode >$(srcdir)/etc/rxvt-unicode.termcap
64 80
65clean: 81clean:
66 $(RMF) *~ 82 rm -f *~
83 rm -f rxvt.1.man rxvt.7.man rxvtc.1.man rxvtd.1.man rxvtperl.3.man
67 84
85distclean: clean
86 rm -f Makefile
87
68realclean: clean 88realclean: distclean
69 $(RMF) tags rxvt.1.man.in rxvt.7.man.in rxvt.1.html rxvt.7.html rxvt.1.txt rxvt.7.txt ../README.configure ../README.FAQ 89 rm -f rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in rxvtperl.3.man.in
90 rm -f rxvt.1.txt rxvt.7.txt rxvtc.1.txt rxvtd.1.txt rxvtperl.3.txt
91 rm -f rxvt.1.html rxvt.7.html rxvtc.1.html rxvtd.1.html rxvtperl.3.html
92 rm -f ../README.configure ../README.FAQ
93 rm -f $(srcdir)/etc/rxvt-unicode.termcap
70 94
71cleandir: realclean 95cleandir: realclean
72
73distclean:
74 96
75install: 97install:
76 $(INSTALL) -d $(DESTDIR)$(man1dir) 98 $(INSTALL) -d $(DESTDIR)$(man1dir)
77 $(INSTALL) -d $(DESTDIR)$(man7dir) 99 $(INSTALL) -d $(DESTDIR)$(man7dir)
78 $(SED) $(SEDREPLACE) < rxvt.1.man.in >rxvt.1.man
79 $(INSTALL_DATA) rxvt.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME).$(man1ext) 100 $(INSTALL_DATA) rxvt.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME).$(man1ext)
80 $(SED) $(SEDREPLACE) < rxvt.7.man.in >rxvt.7.man 101 $(INSTALL_DATA) rxvtc.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)c.$(man1ext)
102 $(INSTALL_DATA) rxvtd.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)d.$(man1ext)
81 $(INSTALL_DATA) rxvt.7.man $(DESTDIR)$(man7dir)/$(RXVTNAME).$(man7ext) 103 $(INSTALL_DATA) rxvt.7.man $(DESTDIR)$(man7dir)/$(RXVTNAME).$(man7ext)
104@IF_PERL@ $(INSTALL) -d $(DESTDIR)$(man3dir)
82 $(INSTALL_DATA) rxvtc.1 $(DESTDIR)$(man1dir)/$(RXVTNAME)c.$(man1ext) 105@IF_PERL@ $(INSTALL_DATA) rxvtperl.3.man $(DESTDIR)$(man3dir)/$(RXVTNAME)perl.$(man3ext)
83 $(INSTALL_DATA) rxvtc.1 $(DESTDIR)$(man1dir)/$(RXVTNAME)d.$(man1ext) 106 @TIC@ $(srcdir)/etc/rxvt-unicode.terminfo
84 if test -x "@TIC@"; then if test -n "@TIC@"; then @TIC@ etc/rxvt-unicode.terminfo; fi; fi
85
86uninstall:
87 -(cd $(mandir); $(RMF) $(RXVTNAME).$(manext) )
88 107
89distdepend: alldoc 108distdepend: alldoc
90 109
91# ------------------------------------------------------------------------
92# DO NOT DELETE: ugly dependency list follows

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines