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