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.14 by root, Sat Aug 14 03:00:32 2004 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 $ 2# $Id: Makefile.in,v 1.14 2004/08/14 03:00:32 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
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 15DIST_ETC = etc/rxvt.termcap etc/rxvt.terminfo etc/XTerm.ad
31DIST_YODL = yodl/masonyodl.yo yodl/versioninfo.yo yodl/versioninfo.yo.in\ 16DIST_POD = rxvt.1.pod rxvt.7.pod
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\ 17DIST_MENU = menu/menu menu/example.menu menu/rxvt.menu menu/rxvt.zh-menu\
34 menu/terminal.menu menu/jedmenu.sl 18 menu/terminal.menu menu/jedmenu.sl
35DIST = Makefile.in README.greek README.menu README.xvt BUGS FAQ TODO\ 19DIST = Makefile.in README.menu README.xvt BUGS FAQ TODO\
36 changes.txt xterm.seq LSM.in rxvt.1 rxvt.tbl rxvtRef.txt\ 20 changes.txt xterm.seq LSM.in \
37 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
38 22
39#------------------------------------------------------------------------- 23#-------------------------------------------------------------------------
40 24
41all: rxvt.1 25all:
42 26
43rxvt.1: rxvt.tbl Makefile 27SEDREPLACE = -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 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;'
45 36
46SEDREPLACE = -e 's%@RXVT_VERSION@%$(VERSION)%g;'\ 37rxvt.1.man: rxvt.1.pod
47 -e 's%@RXVT_LSMDATE@%$(LSMDATE)%g;'\ 38 $(SED) $(SEDREPLACE) < $< | ./podtbl | pod2man -n rxvt -qnone -s1 -c "RXVT-UNICODE" >$@
48 -e 's%@RXVT_DATE@%$(DATE)%g;'\ 39
49 -e 's%@RXVT_MAINTEMAIL@%$(MAINTEMAIL)%g;'\ 40rxvt.7.man: rxvt.7.pod
50 -e 's%@RXVT_MAINT@%$(MAINT)%g;'\ 41 $(SED) $(SEDREPLACE) < $< | ./podtbl | pod2man -n rxvt -qnone -s7 -c "RXVT-UNICODE" >$@
51 -e 's%@RXVT_WEBPAGE@%$(WEBPAGE)%g;'\ 42
52 -e 's%@RXVT_WEBMAINTEMAIL@%$(WEBMAINTEMAIL)%g;'\ 43rxvt.1.html: rxvt.1.pod
53 -e 's%@RXVT_WEBMAINT@%$(WEBMAINT)%g;'\ 44 $(SED) $(SEDREPLACE) < $< | ./podtbl | pod2html >$@
54 -e 's%@RXVT_FTPSITENAME@%$(FTPSITENAME)%g;'\ 45
55 -e 's%@RXVT_FTPSITEDIR@%$(FTPSITEDIR)%g;' 46rxvt.7.html: rxvt.7.pod
47 $(SED) $(SEDREPLACE) < $< | ./podtbl | pod2html >$@
48
49rxvt.1.txt: rxvt.1.pod
50 $(SED) $(SEDREPLACE) < $< | ./podtbl | pod2text >$@
51
52rxvt.7.txt: rxvt.7.pod
53 $(SED) $(SEDREPLACE) < $< | ./podtbl | pod2text >$@
54
55../README.configure: rxvt.7.pod
56 $(SED) $(SEDREPLACE) < $< | ./podtbl | podselect -section "CONFIGURE OPTIONS" | pod2text >$@
56 57
57tags allbin: 58tags allbin:
58 59
59alldoc: $(basedir)/$(VERNAME).lsm yodl/versioninfo.yo rxvt.1 rxvt.html rxvtRef.html rxvtRef.txt 60alldoc: $(basedir)/$(VERNAME).lsm rxvt.1.man rxvt.7.man rxvt.1.html rxvt.7.html rxvt.1.txt rxvt.7.txt ../README.configure
60 61
61yodl/versioninfo.yo: yodl/versioninfo.yo.in ../src/version.h
62 $(SED) $(SEDREPLACE) < $(srcdir)/yodl/versioninfo.yo.in > $@
63
64$(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
65 $(SED) $(SEDREPLACE) < $(srcdir)/LSM.in > $@ 63 $(SED) $(SEDREPLACE) < $(srcdir)/LSM.in > $@
66 64
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
79clean: 65clean:
80 $(RMF) rxvt.man *~ yodl/*~ 66 $(RMF) *~
81 67
82realclean: clean 68realclean: clean
83 $(RMF) tags rxvt.1 rxvt.html rxvtRef.html rxvtRef.txt 69 $(RMF) tags rxvt.1.man rxvt.7.man rxvt.1.html rxvt.7.htmlrxvt.1.txt rxvt.7.txt
84 70
85cleandir: realclean 71cleandir: realclean
86 72
87distclean: 73distclean:
88 74
89install: 75install:
76 $(INSTALL) -d $(DESTDIR)$(man1dir)
77 $(INSTALL) -d $(DESTDIR)$(man7dir)
78 $(INSTALL_DATA) rxvt.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME).$(man1ext)
79 $(INSTALL_DATA) rxvt.7.man $(DESTDIR)$(man7dir)/$(RXVTNAME).$(man7ext)
90 $(INSTALL_DATA) rxvt.1 $(DESTDIR)$(mandir)/$(RXVTNAME).$(manext) 80 $(INSTALL_DATA) rxvtc.1 $(DESTDIR)$(man1dir)/$(RXVTNAME)c.$(man1ext)
81 $(INSTALL_DATA) rxvtc.1 $(DESTDIR)$(man1dir)/$(RXVTNAME)d.$(man1ext)
91 82
92uninstall: 83uninstall:
93 -(cd $(mandir); $(RMF) $(RXVTNAME).$(manext) ) 84 -(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 85
108distdepend: alldoc 86distdepend: alldoc
109 87
110# ------------------------------------------------------------------------ 88# ------------------------------------------------------------------------
111# DO NOT DELETE: ugly dependency list follows 89# DO NOT DELETE: ugly dependency list follows

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines