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.5 by pcg, Wed Mar 3 04:07:52 2004 UTC vs.
Revision 1.29 by ayin, Mon Jan 23 09:56:47 2006 UTC

1# doc/Makefile.in -*- Makefile -*- 1# doc/Makefile.in -*- Makefile -*-
2# $Id: Makefile.in,v 1.5 2004/03/03 04:07:52 pcg 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
18CP = @CP@
19LN = @LN@
20SED = @SED@
21ECHO = @ECHO@
22PERL = @PERL@
23INSTALL = @INSTALL@
24INSTALL_PROGRAM = @INSTALL@ -m 755
25INSTALL_DATA = @INSTALL@ -m 644
4 26
5srcdir = @srcdir@ 27srcdir = @srcdir@
6VPATH = @srcdir@ 28VPATH = @srcdir@
7.PATH: @srcdir@ 29.PATH: @srcdir@
8 30
10thisdir = doc 32thisdir = doc
11 33
12first_rule: all 34first_rule: all
13dummy: 35dummy:
14 36
15#
16# Distribution variables
17#
18
19YODL_RXVT = yodl/rxvt-colours.yo yodl/rxvt-environment.yo\
20 yodl/rxvt-files.yo yodl/rxvt-fonts.yo yodl/rxvt-login.yo\
21 yodl/rxvt-mousereporting.yo yodl/rxvt-options.yo\
22 yodl/rxvt-resources.yo yodl/rxvt-scrollbar.yo\
23 yodl/rxvt-textselection.yo
24YODL_RREF = yodl/rxvtRef-csi.yo yodl/rxvtRef-definitions.yo\
25 yodl/rxvtRef-keycodes.yo\
26 yodl/rxvtRef-menubar.yo yodl/rxvtRef-mouse.yo\
27 yodl/rxvtRef-privatemodes.yo yodl/rxvtRef-sequences.yo\
28 yodl/rxvtRef-values.yo yodl/rxvtRef-xpm.yo yodl/rxvtRef-xterm.yo
29
30DIST_ETC = etc/rxvt.termcap etc/rxvt.terminfo etc/XTerm.ad
31DIST_YODL = yodl/masonyodl.yo yodl/versioninfo.yo yodl/versioninfo.yo.in\
32 $(YODL_RXVT) yodl/rxvt.yo $(YODL_RREF) yodl/rxvtRef.yo
33DIST_MENU = menu/menu menu/example.menu menu/rxvt.menu menu/rxvt.zh-menu\
34 menu/terminal.menu menu/jedmenu.sl
35DIST = Makefile.in README.menu README.xvt BUGS FAQ TODO\
36 changes.txt xterm.seq LSM.in rxvt.1 rxvt.tbl rxvtRef.txt\
37 rxvtRef.html rxvtRef-frame.html rxvtRef-toc.html rxvt.html
38
39#------------------------------------------------------------------------- 37#-------------------------------------------------------------------------
40 38
41all: rxvt.1 39all:
42 40
43rxvt.1: rxvt.tbl Makefile 41SEDREPLACE = -e 's%@@RXVT_VERSION@@%$(VERSION)%g;' \
44 @if test x$(TBL) = x; then : ; else echo "$(TBL) $(srcdir)/rxvt.tbl | grep -v '^.lf' > rxvt.1"; $(TBL) $(srcdir)/rxvt.tbl | grep -v '^.lf' > rxvt.1 ; fi 42 -e 's%@@RXVT_NAME@@%$(RXVTNAME)%g;' \
43 -e 's%@@RXVT_DATE@@%$(DATE)%g;' \
44 -e 's%@@RXVT_LIBDIR@@%$(libdir)%g;'
45 45
46SEDREPLACE = -e 's%@RXVT_VERSION@%$(VERSION)%g;'\ 46rxvtperl.3.pod: ../src/urxvt.pm
47 -e 's%@RXVT_LSMDATE@%$(LSMDATE)%g;'\ 47 $(CP) $< $@
48 -e 's%@RXVT_DATE@%$(DATE)%g;'\ 48
49 -e 's%@RXVT_MAINTEMAIL@%$(MAINTEMAIL)%g;'\ 49%.tbl: %.pod
50 -e 's%@RXVT_MAINT@%$(MAINT)%g;'\ 50 ./podtbl <$< >$@
51 -e 's%@RXVT_WEBPAGE@%$(WEBPAGE)%g;'\ 51
52 -e 's%@RXVT_WEBMAINTEMAIL@%$(WEBMAINTEMAIL)%g;'\ 52%.1.man.in: %.1.tbl
53 -e 's%@RXVT_WEBMAINT@%$(WEBMAINT)%g;'\ 53 pod2man -n rxvt -r"$(VERSION)" -q\" -s1 -c "RXVT-UNICODE" <$< >$@
54 -e 's%@RXVT_FTPSITENAME@%$(FTPSITENAME)%g;'\ 54
55 -e 's%@RXVT_FTPSITEDIR@%$(FTPSITEDIR)%g;' 55%.3.man.in: %.3.tbl
56 pod2man -n rxvt -r"$(VERSION)" -q\" -s3 -c "RXVT-UNICODE" <$< >$@
57
58%.7.man.in: %.7.tbl
59 pod2man -n rxvt -r"$(VERSION)" -q\" -s7 -c "RXVT-UNICODE" <$< >$@
60
61%.html: %.tbl
62 $(SED) $(SEDREPLACE) <$< | pod2html >$@
63
64%.txt: %.tbl
65 $(SED) $(SEDREPLACE) <$< | pod2text >$@
66
67../README.configure: rxvt.7.tbl
68 $(SED) $(SEDREPLACE) <$< | podselect -section "CONFIGURE OPTIONS" | pod2text >$@
69
70../README.FAQ: rxvt.7.tbl
71 $(SED) $(SEDREPLACE) <$< | podselect -section "FREQUENTLY ASKED QUESTIONS" | pod2text >$@
56 72
57tags allbin: 73tags allbin:
58 74
59alldoc: $(basedir)/$(VERNAME).lsm yodl/versioninfo.yo rxvt.1 rxvt.html rxvtRef.html rxvtRef.txt 75alldoc: rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in rxvtperl.3.man.in \
60 76 rxvt.1.txt rxvt.7.txt rxvtc.1.txt rxvtd.1.txt rxvtperl.3.txt \
61yodl/versioninfo.yo: yodl/versioninfo.yo.in ../src/version.h 77 rxvt.1.html rxvt.7.html rxvtc.1.html rxvtd.1.html rxvtperl.3.html \
62 $(SED) $(SEDREPLACE) < $(srcdir)/yodl/versioninfo.yo.in > $@ 78 ../README.configure ../README.FAQ
63 79 infocmp -C rxvt-unicode >etc/rxvt-unicode.termcap
64$(basedir)/$(VERNAME).lsm: LSM.in $(srcdir)/../autoconf/Make.common.in $(srcdir)/../src/version.h
65 $(SED) $(SEDREPLACE) < $(srcdir)/LSM.in > $@
66
67rxvt.tbl: yodl/rxvt.yo $(YODL_RXVT) yodl/masonyodl.yo
68 (cd $(srcdir)/yodl; yodl2man -o../rxvt.tbl rxvt.yo)
69
70rxvt.html: yodl/rxvt.yo $(YODL_RXVT) yodl/masonyodl.yo
71 (cd $(srcdir)/yodl; yodl2html -o../rxvt.html rxvt.yo)
72
73rxvtRef.html: $(YODL_RREF) yodl/rxvtRef.yo yodl/masonyodl.yo
74 (cd $(srcdir)/yodl; yodl2html -o../rxvtRef.html rxvtRef.yo)
75
76rxvtRef.txt: $(YODL_RREF) yodl/rxvtRef.yo yodl/masonyodl.yo
77 (cd $(srcdir)/yodl; yodl2txt -o../rxvtRef.txt rxvtRef.yo)
78 80
79clean: 81clean:
80 $(RMF) rxvt.man *~ yodl/*~ 82 rm -f *~
81 83
82realclean: clean 84realclean: clean
83 $(RMF) tags rxvt.1 rxvt.html rxvtRef.html rxvtRef.txt 85 rm -f tags ../README.configure ../README.FAQ
86 rm -f rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in
87 rm -f rxvt.1.man rxvt.7.man rxvtc.1.man rxvtd.1.man
88 rm -f rxvt.1.txt rxvt.7.txt rxvtc.1.txt rxvtd.1.txt
89 rm -f rxvt.1.html rxvt.7.html rxvtc.1.html rxvtd.1.html
84 90
85cleandir: realclean 91cleandir: realclean
86 92
87distclean: 93distclean:
88 94
89install: 95install:
96 $(INSTALL) -d $(DESTDIR)$(man1dir)
97 $(SED) $(SEDREPLACE) < rxvt.1.man.in >rxvt.1.man
90 $(INSTALL_DATA) rxvt.1 $(DESTDIR)$(mandir)/$(RXVTNAME).$(manext) 98 $(INSTALL_DATA) rxvt.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME).$(man1ext)
99 $(SED) $(SEDREPLACE) < rxvtc.1.man.in >rxvtc.1.man
91 $(INSTALL_DATA) rxvtc.1 $(DESTDIR)$(mandir)/$(RXVTNAME)c.$(manext) 100 $(INSTALL_DATA) rxvtc.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)c.$(man1ext)
101 $(SED) $(SEDREPLACE) < rxvtd.1.man.in >rxvtd.1.man
92 $(INSTALL_DATA) rxvtc.1 $(DESTDIR)$(mandir)/$(RXVTNAME)d.$(manext) 102 $(INSTALL_DATA) rxvtd.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)d.$(man1ext)
103 $(INSTALL) -d $(DESTDIR)$(man7dir)
104 $(SED) $(SEDREPLACE) < rxvt.7.man.in >rxvt.7.man
105 $(INSTALL_DATA) rxvt.7.man $(DESTDIR)$(man7dir)/$(RXVTNAME).$(man7ext)
106@IF_PERL@ $(INSTALL) -d $(DESTDIR)$(man3dir)
107@IF_PERL@ $(SED) $(SEDREPLACE) < rxvtperl.3.man.in >rxvtperl.3.man
108@IF_PERL@ $(INSTALL_DATA) rxvtperl.3.man $(DESTDIR)$(man3dir)/$(RXVTNAME)perl.$(man3ext)
109 if test -x "@TIC@"; then if test -n "@TIC@"; then @TIC@ etc/rxvt-unicode.terminfo; fi; fi
93 110
94uninstall: 111uninstall:
95 -(cd $(mandir); $(RMF) $(RXVTNAME).$(manext) ) 112 -(cd $(mandir); rm -f $(RXVTNAME).$(manext) )
96
97distdirs:
98 mkdir $(basedir)/../$(VERNAME)/$(thisdir)
99 mkdir $(basedir)/../$(VERNAME)/$(thisdir)/etc
100 mkdir $(basedir)/../$(VERNAME)/$(thisdir)/menu
101 mkdir $(basedir)/../$(VERNAME)/$(thisdir)/yodl
102
103distcopy: realclean distdepend
104 $(CP) -p $(basedir)/$(VERNAME).lsm $(basedir)/../$(VERNAME);
105 $(CP) -p $(DIST) $(basedir)/../$(VERNAME)/$(thisdir)
106 $(CP) -p $(DIST_ETC) $(basedir)/../$(VERNAME)/$(thisdir)/etc
107 $(CP) -p $(DIST_MENU) $(basedir)/../$(VERNAME)/$(thisdir)/menu
108 $(CP) -p $(DIST_YODL) $(basedir)/../$(VERNAME)/$(thisdir)/yodl
109 113
110distdepend: alldoc 114distdepend: alldoc
111 115
112# ------------------------------------------------------------------------ 116# ------------------------------------------------------------------------
113# DO NOT DELETE: ugly dependency list follows 117# DO NOT DELETE: ugly dependency list follows

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines