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.1 by pcg, Mon Nov 24 17:28:08 2003 UTC vs.
Revision 1.26 by ayin, Mon Jan 16 17:18:01 2006 UTC

1# doc/Makefile.in -*- Makefile -*- 1# doc/Makefile.in -*- Makefile -*-
2# $Id: Makefile.in,v 1.1 2003/11/24 17:28:08 pcg Exp $
3@MCOMMON@
4 2
5srcdir = @srcdir@ 3srcdir = @srcdir@
6VPATH = @srcdir@ 4VPATH = @srcdir@
7.PATH: @srcdir@ 5.PATH: @srcdir@
8 6
10thisdir = doc 8thisdir = doc
11 9
12first_rule: all 10first_rule: all
13dummy: 11dummy:
14 12
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-graphics.yo 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.greek 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#------------------------------------------------------------------------- 13#-------------------------------------------------------------------------
40 14
41all: rxvt.1 15all:
42 16
43rxvt.1: rxvt.tbl Makefile 17SEDREPLACE = -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 18 -e 's%@@RXVT_NAME@@%$(RXVTNAME)%g;' \
19 -e 's%@@RXVT_DATE@@%$(DATE)%g;' \
20 -e 's%@@RXVT_LIBDIR@@%$(libdir)%g;'
45 21
46SEDREPLACE = -e 's%@RXVT_VERSION@%$(VERSION)%g;'\ 22rxvtperl.3.pod: ../src/urxvt.pm
47 -e 's%@RXVT_LSMDATE@%$(LSMDATE)%g;'\ 23 cp $< $@
48 -e 's%@RXVT_DATE@%$(DATE)%g;'\ 24
49 -e 's%@RXVT_MAINTEMAIL@%$(MAINTEMAIL)%g;'\ 25%.tbl: %.pod
50 -e 's%@RXVT_MAINT@%$(MAINT)%g;'\ 26 ./podtbl <$< >$@
51 -e 's%@RXVT_WEBPAGE@%$(WEBPAGE)%g;'\ 27
52 -e 's%@RXVT_WEBMAINTEMAIL@%$(WEBMAINTEMAIL)%g;'\ 28%.1.man.in: %.1.tbl
53 -e 's%@RXVT_WEBMAINT@%$(WEBMAINT)%g;'\ 29 pod2man -n rxvt -r"$(VERSION)" -q\" -s1 -c "RXVT-UNICODE" <$< >$@
54 -e 's%@RXVT_FTPSITENAME@%$(FTPSITENAME)%g;'\ 30
55 -e 's%@RXVT_FTPSITEDIR@%$(FTPSITEDIR)%g;' 31%.3.man.in: %.3.tbl
32 pod2man -n rxvt -r"$(VERSION)" -q\" -s3 -c "RXVT-UNICODE" <$< >$@
33
34%.7.man.in: %.7.tbl
35 pod2man -n rxvt -r"$(VERSION)" -q\" -s7 -c "RXVT-UNICODE" <$< >$@
36
37%.html: %.tbl
38 $(SED) $(SEDREPLACE) <$< | pod2html >$@
39
40%.txt: %.tbl
41 $(SED) $(SEDREPLACE) <$< | pod2text >$@
42
43../README.configure: rxvt.7.tbl
44 $(SED) $(SEDREPLACE) <$< | podselect -section "CONFIGURE OPTIONS" | pod2text >$@
45
46../README.FAQ: rxvt.7.tbl
47 $(SED) $(SEDREPLACE) <$< | podselect -section "FREQUENTLY ASKED QUESTIONS" | pod2text >$@
56 48
57tags allbin: 49tags allbin:
58 50
59alldoc: $(basedir)/$(VERNAME).lsm yodl/versioninfo.yo rxvt.1 rxvt.html rxvtRef.html rxvtRef.txt 51alldoc: rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in rxvtperl.3.man.in \
60 52 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 53 rxvt.1.html rxvt.7.html rxvtc.1.html rxvtd.1.html rxvtperl.3.html \
62 $(SED) $(SEDREPLACE) < $(srcdir)/yodl/versioninfo.yo.in > $@ 54 ../README.configure ../README.FAQ
63 55 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 56
79clean: 57clean:
80 $(RMF) rxvt.man *~ yodl/*~ 58 $(RMF) *~
81 59
82realclean: clean 60realclean: clean
83 $(RMF) tags rxvt.1 rxvt.html rxvtRef.html rxvtRef.txt 61 $(RMF) tags ../README.configure ../README.FAQ
62 $(RMF) rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in
63 $(RMF) rxvt.1.man rxvt.7.man rxvtc.1.man rxvtd.1.man
64 $(RMF) rxvt.1.txt rxvt.7.txt rxvtc.1.txt rxvtd.1.txt
65 $(RMF) rxvt.1.html rxvt.7.html rxvtc.1.html rxvtd.1.html
84 66
85cleandir: realclean 67cleandir: realclean
86 68
87distclean: 69distclean:
88 70
89install: 71install:
72 $(INSTALL) -d $(DESTDIR)$(man1dir)
73 $(SED) $(SEDREPLACE) < rxvt.1.man.in >rxvt.1.man
90 $(INSTALL_DATA) rxvt.1 $(DESTDIR)$(mandir)/$(RXVTNAME).$(manext) 74 $(INSTALL_DATA) rxvt.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME).$(man1ext)
75 $(SED) $(SEDREPLACE) < rxvtc.1.man.in >rxvtc.1.man
76 $(INSTALL_DATA) rxvtc.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)c.$(man1ext)
77 $(SED) $(SEDREPLACE) < rxvtd.1.man.in >rxvtd.1.man
78 $(INSTALL_DATA) rxvtd.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)d.$(man1ext)
79 $(INSTALL) -d $(DESTDIR)$(man7dir)
80 $(SED) $(SEDREPLACE) < rxvt.7.man.in >rxvt.7.man
81 $(INSTALL_DATA) rxvt.7.man $(DESTDIR)$(man7dir)/$(RXVTNAME).$(man7ext)
82@IF_PERL@ $(INSTALL) -d $(DESTDIR)$(man3dir)
83@IF_PERL@ $(SED) $(SEDREPLACE) < rxvtperl.3.man.in >rxvtperl.3.man
84@IF_PERL@ $(INSTALL_DATA) rxvtperl.3.man $(DESTDIR)$(man3dir)/$(RXVTNAME)perl.$(man3ext)
85 if test -x "@TIC@"; then if test -n "@TIC@"; then @TIC@ etc/rxvt-unicode.terminfo; fi; fi
91 86
92uninstall: 87uninstall:
93 -(cd $(mandir); $(RMF) $(RXVTNAME).$(manext) ) 88 -(cd $(mandir); $(RMF) $(RXVTNAME).$(manext) )
94
95distdirs:
96 mkdir $(basedir)/../$(VERNAME)/$(thisdir)
97 mkdir $(basedir)/../$(VERNAME)/$(thisdir)/etc
98 mkdir $(basedir)/../$(VERNAME)/$(thisdir)/menu
99 mkdir $(basedir)/../$(VERNAME)/$(thisdir)/yodl
100
101distcopy: realclean distdepend
102 $(CP) -p $(basedir)/$(VERNAME).lsm $(basedir)/../$(VERNAME);
103 $(CP) -p $(DIST) $(basedir)/../$(VERNAME)/$(thisdir)
104 $(CP) -p $(DIST_ETC) $(basedir)/../$(VERNAME)/$(thisdir)/etc
105 $(CP) -p $(DIST_MENU) $(basedir)/../$(VERNAME)/$(thisdir)/menu
106 $(CP) -p $(DIST_YODL) $(basedir)/../$(VERNAME)/$(thisdir)/yodl
107 89
108distdepend: alldoc 90distdepend: alldoc
109 91
110# ------------------------------------------------------------------------ 92# ------------------------------------------------------------------------
111# DO NOT DELETE: ugly dependency list follows 93# DO NOT DELETE: ugly dependency list follows

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines