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