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.8 by root, Fri Jul 30 19:54:14 2004 UTC vs.
Revision 1.19 by root, Wed Sep 8 17:22:35 2004 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines