1 | # doc/Makefile.in -*- Makefile -*- |
1 | # doc/Makefile.in -*- Makefile -*- |
2 | # $Id: Makefile.in,v 1.16 2004/08/22 22:25:11 root 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 | DIST_ETC = etc/rxvt.termcap etc/rxvt.terminfo etc/XTerm.ad |
|
|
16 | DIST_POD = rxvt.1.pod rxvt.7.pod |
|
|
17 | DIST_MENU = menu/menu menu/example.menu menu/rxvt.menu menu/rxvt.zh-menu\ |
|
|
18 | menu/terminal.menu menu/jedmenu.sl |
|
|
19 | DIST = Makefile.in README.menu README.xvt BUGS FAQ TODO\ |
|
|
20 | changes.txt xterm.seq LSM.in \ |
|
|
21 | rxvt.1.man rxvt.7.man rxvt.1.html rxvt.7.html rxvt.1.txt rxvt.7.txt |
|
|
22 | |
|
|
23 | #------------------------------------------------------------------------- |
14 | #------------------------------------------------------------------------- |
24 | |
15 | |
25 | all: |
16 | all: |
26 | |
17 | |
27 | SEDREPLACE = -e 's%@@RXVT_VERSION@@%$(VERSION)%g;'\ |
18 | SEDREPLACE = -e 's%@@RXVT_VERSION@@%$(VERSION)%g;'\ |
28 | -e 's%@@RXVT_LSMDATE@@%$(LSMDATE)%g;'\ |
|
|
29 | -e 's%@@RXVT_NAME@@%$(RXVTNAME)%g;'\ |
19 | -e 's%@@RXVT_NAME@@%$(RXVTNAME)%g;'\ |
30 | -e 's%@@RXVT_DATE@@%$(DATE)%g;'\ |
20 | -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;' |
|
|
36 | |
21 | |
37 | rxvt.1.man: rxvt.1.pod |
22 | %.tbl: %.pod |
38 | $(SED) $(SEDREPLACE) < $< | ./podtbl | pod2man -n rxvt -qnone -s1 -c "RXVT-UNICODE" >$@ |
23 | ./podtbl <$< >$@ |
39 | |
24 | |
40 | rxvt.7.man: rxvt.7.pod |
25 | %.1.man.in: %.1.tbl |
41 | $(SED) $(SEDREPLACE) < $< | ./podtbl | pod2man -n rxvt -qnone -s7 -c "RXVT-UNICODE" >$@ |
26 | pod2man -n rxvt -r"$(VERSION)" -q\" -s1 -c "RXVT-UNICODE" <$< >$@ |
42 | |
27 | |
43 | rxvt.1.html: rxvt.1.pod |
28 | %.7.man.in: %.7.tbl |
44 | $(SED) $(SEDREPLACE) < $< | ./podtbl | pod2html >$@ |
29 | pod2man -n rxvt -r"$(VERSION)" -q\" -s7 -c "RXVT-UNICODE" <$< >$@ |
45 | |
30 | |
46 | rxvt.7.html: rxvt.7.pod |
31 | %.html: %.tbl |
47 | $(SED) $(SEDREPLACE) < $< | ./podtbl | pod2html >$@ |
32 | $(SED) $(SEDREPLACE) <$< | pod2html >$@ |
48 | |
33 | |
49 | rxvt.1.txt: rxvt.1.pod |
34 | %.txt: %.tbl |
50 | $(SED) $(SEDREPLACE) < $< | ./podtbl | pod2text >$@ |
35 | $(SED) $(SEDREPLACE) <$< | pod2text >$@ |
51 | |
36 | |
52 | rxvt.7.txt: rxvt.7.pod |
37 | ../README.configure: rxvt.7.tbl |
53 | $(SED) $(SEDREPLACE) < $< | ./podtbl | pod2text >$@ |
38 | $(SED) $(SEDREPLACE) <$< | podselect -section "CONFIGURE OPTIONS" | pod2text >$@ |
54 | |
39 | |
55 | ../README.configure: rxvt.7.pod |
40 | ../README.FAQ: rxvt.7.tbl |
56 | $(SED) $(SEDREPLACE) < $< | ./podtbl | podselect -section "CONFIGURE OPTIONS" | pod2text >$@ |
41 | $(SED) $(SEDREPLACE) <$< | podselect -section "FREQUENTLY ASKED QUESTIONS" | pod2text >$@ |
57 | |
42 | |
58 | tags allbin: |
43 | tags allbin: |
59 | |
44 | |
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 |
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 |
61 | |
|
|
62 | $(basedir)/$(VERNAME).lsm: LSM.in $(srcdir)/../autoconf/Make.common.in |
|
|
63 | $(SED) $(SEDREPLACE) < $(srcdir)/LSM.in > $@ |
|
|
64 | |
46 | |
65 | clean: |
47 | clean: |
66 | $(RMF) *~ |
48 | $(RMF) *~ |
67 | |
49 | |
68 | realclean: clean |
50 | realclean: clean |
69 | $(RMF) tags rxvt.1.man rxvt.7.man rxvt.1.html rxvt.7.htmlrxvt.1.txt rxvt.7.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 |
70 | |
52 | |
71 | cleandir: realclean |
53 | cleandir: realclean |
72 | |
54 | |
73 | distclean: |
55 | distclean: |
74 | |
56 | |
75 | install: |
57 | install: |
76 | $(INSTALL) -d $(DESTDIR)$(man1dir) |
58 | $(INSTALL) -d $(DESTDIR)$(man1dir) |
77 | $(INSTALL) -d $(DESTDIR)$(man7dir) |
59 | $(INSTALL) -d $(DESTDIR)$(man7dir) |
|
|
60 | $(SED) $(SEDREPLACE) < rxvt.1.man.in >rxvt.1.man |
78 | $(INSTALL_DATA) rxvt.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME).$(man1ext) |
61 | $(INSTALL_DATA) rxvt.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME).$(man1ext) |
|
|
62 | $(SED) $(SEDREPLACE) < rxvt.7.man.in >rxvt.7.man |
79 | $(INSTALL_DATA) rxvt.7.man $(DESTDIR)$(man7dir)/$(RXVTNAME).$(man7ext) |
63 | $(INSTALL_DATA) rxvt.7.man $(DESTDIR)$(man7dir)/$(RXVTNAME).$(man7ext) |
80 | $(INSTALL_DATA) rxvtc.1 $(DESTDIR)$(man1dir)/$(RXVTNAME)c.$(man1ext) |
64 | $(INSTALL_DATA) rxvtc.1 $(DESTDIR)$(man1dir)/$(RXVTNAME)c.$(man1ext) |
81 | $(INSTALL_DATA) rxvtc.1 $(DESTDIR)$(man1dir)/$(RXVTNAME)d.$(man1ext) |
65 | $(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 |
66 | if test -x "@TIC@"; then if test -n "@TIC@"; then @TIC@ etc/rxvt-unicode.terminfo; fi; fi |
83 | |
67 | |