… | |
… | |
13 | man1ext = 1 |
13 | man1ext = 1 |
14 | man3dir = @mandir@/man3 |
14 | man3dir = @mandir@/man3 |
15 | man3ext = 3 |
15 | man3ext = 3 |
16 | man7dir = @mandir@/man7 |
16 | man7dir = @mandir@/man7 |
17 | man7ext = 7 |
17 | man7ext = 7 |
18 | CP = @CP@ |
|
|
19 | LN = @LN@ |
|
|
20 | SED = @SED@ |
|
|
21 | ECHO = @ECHO@ |
|
|
22 | PERL = @PERL@ |
18 | PERL = @PERL@ |
23 | INSTALL = @INSTALL@ |
19 | INSTALL = @INSTALL@ |
24 | INSTALL_PROGRAM = @INSTALL@ -m 755 |
20 | INSTALL_PROGRAM = @INSTALL@ -m 755 |
25 | INSTALL_DATA = @INSTALL@ -m 644 |
21 | INSTALL_DATA = @INSTALL@ -m 644 |
26 | |
22 | |
27 | srcdir = @srcdir@ |
23 | srcdir = @srcdir@ |
28 | VPATH = @srcdir@ |
24 | VPATH = @srcdir@ |
29 | .PATH: @srcdir@ |
|
|
30 | |
|
|
31 | basedir = .. |
|
|
32 | thisdir = doc |
|
|
33 | |
25 | |
34 | first_rule: all |
26 | first_rule: all |
35 | dummy: |
27 | dummy: |
36 | |
28 | |
37 | #------------------------------------------------------------------------- |
29 | #------------------------------------------------------------------------- |
… | |
… | |
41 | -e 's%@@RXVT_DATE@@%$(DATE)%g;' \ |
33 | -e 's%@@RXVT_DATE@@%$(DATE)%g;' \ |
42 | -e 's%@@RXVT_LIBDIR@@%$(libdir)%g;' \ |
34 | -e 's%@@RXVT_LIBDIR@@%$(libdir)%g;' \ |
43 | -e 's%@@URXVT_NAME@@%urxvt%g;' |
35 | -e 's%@@URXVT_NAME@@%urxvt%g;' |
44 | |
36 | |
45 | all: |
37 | all: |
46 | $(SED) $(SEDREPLACE) < $(srcdir)/rxvt.1.man.in >rxvt.1.man |
38 | sed $(SEDREPLACE) < $(srcdir)/rxvt.1.man.in >rxvt.1.man |
47 | $(SED) $(SEDREPLACE) < $(srcdir)/rxvtc.1.man.in >rxvtc.1.man |
39 | sed $(SEDREPLACE) < $(srcdir)/rxvtc.1.man.in >rxvtc.1.man |
48 | $(SED) $(SEDREPLACE) < $(srcdir)/rxvtd.1.man.in >rxvtd.1.man |
40 | sed $(SEDREPLACE) < $(srcdir)/rxvtd.1.man.in >rxvtd.1.man |
49 | $(SED) $(SEDREPLACE) < $(srcdir)/rxvt.7.man.in >rxvt.7.man |
41 | sed $(SEDREPLACE) < $(srcdir)/rxvt.7.man.in >rxvt.7.man |
50 | @IF_PERL@ $(SED) $(SEDREPLACE) < $(srcdir)/rxvtperl.3.man.in >rxvtperl.3.man |
42 | @IF_PERL@ sed $(SEDREPLACE) < $(srcdir)/rxvtperl.3.man.in >rxvtperl.3.man |
51 | |
43 | |
52 | rxvtperl.3.pod: ../src/urxvt.pm |
44 | rxvtperl.3.pod: ../src/urxvt.pm |
53 | $(CP) $< $@ |
45 | cp $< $@ |
54 | |
46 | |
55 | %.tbl: %.pod |
47 | %.tbl: %.pod |
56 | $(srcdir)/podtbl <$< >$@ |
48 | $(srcdir)/podtbl <$< >$@ |
57 | |
49 | |
58 | %.1.man.in: %.1.tbl |
50 | %.1.man.in: %.1.tbl |
… | |
… | |
63 | |
55 | |
64 | %.7.man.in: %.7.tbl |
56 | %.7.man.in: %.7.tbl |
65 | pod2man -n @@RXVT_NAME@@ -r"$(VERSION)" -q\" -s7 -c "RXVT-UNICODE" <$< >$@ |
57 | pod2man -n @@RXVT_NAME@@ -r"$(VERSION)" -q\" -s7 -c "RXVT-UNICODE" <$< >$@ |
66 | |
58 | |
67 | %.html: %.tbl |
59 | %.html: %.tbl |
68 | $(SED) $(SEDREPLACE) <$< | pod2html >$@ |
60 | sed $(SEDREPLACE) <$< | pod2html >$@ |
69 | |
61 | |
70 | %.txt: %.tbl |
62 | %.txt: %.tbl |
71 | $(SED) $(SEDREPLACE) <$< | pod2text >$@ |
63 | sed $(SEDREPLACE) <$< | pod2text >$@ |
72 | |
64 | |
73 | ../README.configure: rxvt.7.tbl |
65 | ../README.configure: rxvt.7.tbl |
74 | $(SED) $(SEDREPLACE) <$< | podselect -section "CONFIGURE OPTIONS" | pod2text >$@ |
66 | sed $(SEDREPLACE) <$< | podselect -section "CONFIGURE OPTIONS" | pod2text >$@ |
75 | |
67 | |
76 | ../README.FAQ: rxvt.7.tbl |
68 | ../README.FAQ: rxvt.7.tbl |
77 | $(SED) $(SEDREPLACE) <$< | podselect -section "RXVT-UNICODE\/URXVT FREQUENTLY ASKED QUESTIONS" | pod2text >$@ |
69 | sed $(SEDREPLACE) <$< | podselect -section "RXVT-UNICODE\/URXVT FREQUENTLY ASKED QUESTIONS" | pod2text >$@ |
78 | |
70 | |
79 | tags allbin: |
71 | tags allbin: |
80 | |
72 | |
81 | alldoc: rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in rxvtperl.3.man.in \ |
73 | alldoc: rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in rxvtperl.3.man.in \ |
82 | rxvt.1.txt rxvt.7.txt rxvtc.1.txt rxvtd.1.txt rxvtperl.3.txt \ |
74 | rxvt.1.txt rxvt.7.txt rxvtc.1.txt rxvtd.1.txt rxvtperl.3.txt \ |
… | |
… | |
84 | ../README.configure ../README.FAQ |
76 | ../README.configure ../README.FAQ |
85 | infocmp -C rxvt-unicode >$(srcdir)/etc/rxvt-unicode.termcap |
77 | infocmp -C rxvt-unicode >$(srcdir)/etc/rxvt-unicode.termcap |
86 | |
78 | |
87 | clean: |
79 | clean: |
88 | rm -f *~ |
80 | rm -f *~ |
|
|
81 | rm -f rxvt.1.man rxvt.7.man rxvtc.1.man rxvtd.1.man rxvtperl.3.man |
89 | |
82 | |
|
|
83 | distclean: clean |
|
|
84 | rm -f Makefile |
|
|
85 | |
90 | realclean: clean |
86 | realclean: distclean |
|
|
87 | rm -f rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in rxvtperl.3.man.in |
|
|
88 | rm -f rxvt.1.txt rxvt.7.txt rxvtc.1.txt rxvtd.1.txt rxvtperl.3.txt |
|
|
89 | rm -f rxvt.1.html rxvt.7.html rxvtc.1.html rxvtd.1.html rxvtperl.3.html |
91 | rm -f tags ../README.configure ../README.FAQ |
90 | rm -f ../README.configure ../README.FAQ |
92 | rm -f rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in |
91 | rm -f $(srcdir)/etc/rxvt-unicode.termcap |
93 | rm -f rxvt.1.man rxvt.7.man rxvtc.1.man rxvtd.1.man |
|
|
94 | rm -f rxvt.1.txt rxvt.7.txt rxvtc.1.txt rxvtd.1.txt |
|
|
95 | rm -f rxvt.1.html rxvt.7.html rxvtc.1.html rxvtd.1.html |
|
|
96 | |
92 | |
97 | cleandir: realclean |
93 | cleandir: realclean |
98 | |
|
|
99 | distclean: |
|
|
100 | rm -f Makefile |
|
|
101 | |
94 | |
102 | install: |
95 | install: |
103 | $(INSTALL) -d $(DESTDIR)$(man1dir) |
96 | $(INSTALL) -d $(DESTDIR)$(man1dir) |
104 | $(INSTALL_DATA) rxvt.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME).$(man1ext) |
97 | $(INSTALL_DATA) rxvt.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME).$(man1ext) |
105 | $(INSTALL_DATA) rxvtc.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)c.$(man1ext) |
98 | $(INSTALL_DATA) rxvtc.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)c.$(man1ext) |