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 $ |
2 | |
3 | @MCOMMON@ |
3 | DATE=@DATE@ |
|
|
4 | VERSION=@VERSION@ |
|
|
5 | RXVTNAME=@RXVTNAME@ |
|
|
6 | SHELL = /bin/sh |
|
|
7 | prefix = @prefix@ |
|
|
8 | exec_prefix = @exec_prefix@ |
|
|
9 | bindir = @bindir@ |
|
|
10 | libdir = @libdir@ |
|
|
11 | includedir = @includedir@ |
|
|
12 | man1dir = @mandir@/man1 |
|
|
13 | man1ext = 1 |
|
|
14 | man3dir = @mandir@/man3 |
|
|
15 | man3ext = 3 |
|
|
16 | man7dir = @mandir@/man7 |
|
|
17 | man7ext = 7 |
|
|
18 | CC = @CC@ |
|
|
19 | CXX = @CXX@ |
|
|
20 | CPP = @CPP@ |
|
|
21 | MV = @MV@ |
|
|
22 | RM = @RM@ |
|
|
23 | RMF = @RM@ -f |
|
|
24 | CP = @CP@ |
|
|
25 | LN = @LN@ |
|
|
26 | SED = @SED@ |
|
|
27 | AWK = @AWK@ |
|
|
28 | ECHO = @ECHO@ |
|
|
29 | CMP = @CMP@ |
|
|
30 | TBL = @TBL@ |
|
|
31 | PERL = @PERL@ |
|
|
32 | INSTALL = @INSTALL@ |
|
|
33 | INSTALL_PROGRAM = @INSTALL@ -m 755 |
|
|
34 | INSTALL_DATA = @INSTALL@ -m 644 |
|
|
35 | CXXFLAGS = @CXXFLAGS@ |
|
|
36 | CPPFLAGS = @CPPFLAGS@ @XPM_CPPFLAGS@ |
|
|
37 | LDFLAGS = @LDFLAGS@ |
|
|
38 | DEFS = @DEFS@ |
|
|
39 | LIBS = @LIBS@ |
|
|
40 | DINCLUDE = @DINCLUDE@ |
|
|
41 | DLIB = @DLIB@ |
|
|
42 | XINC = @X_CFLAGS@ @XPM_CFLAGS@ |
|
|
43 | XLIB = @X_LIBS@ @XPM_LIBS@ -lX11 @X_EXTRA_LIBS@ |
|
|
44 | COMPILE = $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS) $(DEBUG) $(DINCLUDE) $(XINC) -I$(basedir) -I$(srcdir) -I. |
|
|
45 | LINK = @LINKER@ $(LDFLAGS) |
4 | |
46 | |
5 | srcdir = @srcdir@ |
47 | srcdir = @srcdir@ |
6 | VPATH = @srcdir@ |
48 | VPATH = @srcdir@ |
7 | .PATH: @srcdir@ |
49 | .PATH: @srcdir@ |
8 | |
50 | |
… | |
… | |
10 | thisdir = doc |
52 | thisdir = doc |
11 | |
53 | |
12 | first_rule: all |
54 | first_rule: all |
13 | dummy: |
55 | dummy: |
14 | |
56 | |
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 | #------------------------------------------------------------------------- |
57 | #------------------------------------------------------------------------- |
24 | |
58 | |
25 | all: |
59 | all: |
26 | |
60 | |
27 | SEDREPLACE = -e 's%@@RXVT_VERSION@@%$(VERSION)%g;'\ |
61 | SEDREPLACE = -e 's%@@RXVT_VERSION@@%$(VERSION)%g;' \ |
28 | -e 's%@@RXVT_LSMDATE@@%$(LSMDATE)%g;'\ |
|
|
29 | -e 's%@@RXVT_NAME@@%$(RXVTNAME)%g;'\ |
62 | -e 's%@@RXVT_NAME@@%$(RXVTNAME)%g;' \ |
30 | -e 's%@@RXVT_DATE@@%$(DATE)%g;'\ |
63 | -e 's%@@RXVT_DATE@@%$(DATE)%g;' \ |
31 | -e 's%@@RXVT_MAINTEMAIL@@%$(MAINTEMAIL)%g;'\ |
64 | -e 's%@@RXVT_LIBDIR@@%$(libdir)%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 | |
65 | |
37 | rxvt.1.man: rxvt.1.pod |
66 | rxvtperl.3.pod: ../src/urxvt.pm |
38 | $(SED) $(SEDREPLACE) < $< | ./podtbl | pod2man -n rxvt -qnone -s1 -c "RXVT-UNICODE" >$@ |
67 | cp $< $@ |
39 | |
68 | |
40 | rxvt.7.man: rxvt.7.pod |
69 | %.tbl: %.pod |
41 | $(SED) $(SEDREPLACE) < $< | ./podtbl | pod2man -n rxvt -qnone -s7 -c "RXVT-UNICODE" >$@ |
70 | ./podtbl <$< >$@ |
42 | |
71 | |
43 | rxvt.1.html: rxvt.1.pod |
72 | %.1.man.in: %.1.tbl |
44 | $(SED) $(SEDREPLACE) < $< | ./podtbl | pod2html >$@ |
73 | pod2man -n rxvt -r"$(VERSION)" -q\" -s1 -c "RXVT-UNICODE" <$< >$@ |
45 | |
74 | |
46 | rxvt.7.html: rxvt.7.pod |
75 | %.3.man.in: %.3.tbl |
47 | $(SED) $(SEDREPLACE) < $< | ./podtbl | pod2html >$@ |
76 | pod2man -n rxvt -r"$(VERSION)" -q\" -s3 -c "RXVT-UNICODE" <$< >$@ |
48 | |
77 | |
49 | rxvt.1.txt: rxvt.1.pod |
78 | %.7.man.in: %.7.tbl |
50 | $(SED) $(SEDREPLACE) < $< | ./podtbl | pod2text >$@ |
79 | pod2man -n rxvt -r"$(VERSION)" -q\" -s7 -c "RXVT-UNICODE" <$< >$@ |
51 | |
80 | |
52 | rxvt.7.txt: rxvt.7.pod |
81 | %.html: %.tbl |
53 | $(SED) $(SEDREPLACE) < $< | ./podtbl | pod2text >$@ |
82 | $(SED) $(SEDREPLACE) <$< | pod2html >$@ |
54 | |
83 | |
|
|
84 | %.txt: %.tbl |
|
|
85 | $(SED) $(SEDREPLACE) <$< | pod2text >$@ |
|
|
86 | |
55 | ../README.configure: rxvt.7.pod |
87 | ../README.configure: rxvt.7.tbl |
56 | $(SED) $(SEDREPLACE) < $< | ./podtbl | podselect -section "CONFIGURE OPTIONS" | pod2text >$@ |
88 | $(SED) $(SEDREPLACE) <$< | podselect -section "CONFIGURE OPTIONS" | pod2text >$@ |
|
|
89 | |
|
|
90 | ../README.FAQ: rxvt.7.tbl |
|
|
91 | $(SED) $(SEDREPLACE) <$< | podselect -section "FREQUENTLY ASKED QUESTIONS" | pod2text >$@ |
57 | |
92 | |
58 | tags allbin: |
93 | tags allbin: |
59 | |
94 | |
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 |
95 | alldoc: rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in rxvtperl.3.man.in \ |
61 | |
96 | rxvt.1.txt rxvt.7.txt rxvtc.1.txt rxvtd.1.txt rxvtperl.3.txt \ |
62 | $(basedir)/$(VERNAME).lsm: LSM.in $(srcdir)/../autoconf/Make.common.in |
97 | rxvt.1.html rxvt.7.html rxvtc.1.html rxvtd.1.html rxvtperl.3.html \ |
63 | $(SED) $(SEDREPLACE) < $(srcdir)/LSM.in > $@ |
98 | ../README.configure ../README.FAQ |
|
|
99 | infocmp -C rxvt-unicode >etc/rxvt-unicode.termcap |
64 | |
100 | |
65 | clean: |
101 | clean: |
66 | $(RMF) *~ |
102 | $(RMF) *~ |
67 | |
103 | |
68 | realclean: clean |
104 | realclean: clean |
69 | $(RMF) tags rxvt.1.man rxvt.7.man rxvt.1.html rxvt.7.htmlrxvt.1.txt rxvt.7.txt |
105 | $(RMF) tags ../README.configure ../README.FAQ |
|
|
106 | $(RMF) rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in |
|
|
107 | $(RMF) rxvt.1.man rxvt.7.man rxvtc.1.man rxvtd.1.man |
|
|
108 | $(RMF) rxvt.1.txt rxvt.7.txt rxvtc.1.txt rxvtd.1.txt |
|
|
109 | $(RMF) rxvt.1.html rxvt.7.html rxvtc.1.html rxvtd.1.html |
70 | |
110 | |
71 | cleandir: realclean |
111 | cleandir: realclean |
72 | |
112 | |
73 | distclean: |
113 | distclean: |
74 | |
114 | |
75 | install: |
115 | install: |
76 | $(INSTALL) -d $(DESTDIR)$(man1dir) |
116 | $(INSTALL) -d $(DESTDIR)$(man1dir) |
|
|
117 | $(SED) $(SEDREPLACE) < rxvt.1.man.in >rxvt.1.man |
|
|
118 | $(INSTALL_DATA) rxvt.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME).$(man1ext) |
|
|
119 | $(SED) $(SEDREPLACE) < rxvtc.1.man.in >rxvtc.1.man |
|
|
120 | $(INSTALL_DATA) rxvtc.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)c.$(man1ext) |
|
|
121 | $(SED) $(SEDREPLACE) < rxvtd.1.man.in >rxvtd.1.man |
|
|
122 | $(INSTALL_DATA) rxvtd.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)d.$(man1ext) |
77 | $(INSTALL) -d $(DESTDIR)$(man7dir) |
123 | $(INSTALL) -d $(DESTDIR)$(man7dir) |
78 | $(INSTALL_DATA) rxvt.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME).$(man1ext) |
124 | $(SED) $(SEDREPLACE) < rxvt.7.man.in >rxvt.7.man |
79 | $(INSTALL_DATA) rxvt.7.man $(DESTDIR)$(man7dir)/$(RXVTNAME).$(man7ext) |
125 | $(INSTALL_DATA) rxvt.7.man $(DESTDIR)$(man7dir)/$(RXVTNAME).$(man7ext) |
|
|
126 | @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(man3dir) |
|
|
127 | @IF_PERL@ $(SED) $(SEDREPLACE) < rxvtperl.3.man.in >rxvtperl.3.man |
80 | $(INSTALL_DATA) rxvtc.1 $(DESTDIR)$(man1dir)/$(RXVTNAME)c.$(man1ext) |
128 | @IF_PERL@ $(INSTALL_DATA) rxvtperl.3.man $(DESTDIR)$(man3dir)/$(RXVTNAME)perl.$(man3ext) |
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 |
129 | if test -x "@TIC@"; then if test -n "@TIC@"; then @TIC@ etc/rxvt-unicode.terminfo; fi; fi |
83 | |
130 | |
84 | uninstall: |
131 | uninstall: |
85 | -(cd $(mandir); $(RMF) $(RXVTNAME).$(manext) ) |
132 | -(cd $(mandir); $(RMF) $(RXVTNAME).$(manext) ) |
86 | |
133 | |