… | |
… | |
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 | RM = @RM@ |
|
|
19 | RMF = @RM@ -f |
|
|
20 | CP = @CP@ |
18 | CP = @CP@ |
21 | LN = @LN@ |
19 | LN = @LN@ |
22 | SED = @SED@ |
20 | SED = @SED@ |
23 | ECHO = @ECHO@ |
21 | ECHO = @ECHO@ |
24 | PERL = @PERL@ |
22 | PERL = @PERL@ |
… | |
… | |
41 | all: |
39 | all: |
42 | |
40 | |
43 | SEDREPLACE = -e 's%@@RXVT_VERSION@@%$(VERSION)%g;' \ |
41 | SEDREPLACE = -e 's%@@RXVT_VERSION@@%$(VERSION)%g;' \ |
44 | -e 's%@@RXVT_NAME@@%$(RXVTNAME)%g;' \ |
42 | -e 's%@@RXVT_NAME@@%$(RXVTNAME)%g;' \ |
45 | -e 's%@@RXVT_DATE@@%$(DATE)%g;' \ |
43 | -e 's%@@RXVT_DATE@@%$(DATE)%g;' \ |
46 | -e 's%@@RXVT_LIBDIR@@%$(libdir)%g;' |
44 | -e 's%@@RXVT_LIBDIR@@%$(libdir)%g;' \ |
|
|
45 | -e 's%@@URXVT_NAME@@%urxvt%g;' |
47 | |
46 | |
48 | rxvtperl.3.pod: ../src/urxvt.pm |
47 | rxvtperl.3.pod: ../src/urxvt.pm |
49 | $(CP) $< $@ |
48 | $(CP) $< $@ |
50 | |
49 | |
51 | %.tbl: %.pod |
50 | %.tbl: %.pod |
52 | ./podtbl <$< >$@ |
51 | ./podtbl <$< >$@ |
53 | |
52 | |
54 | %.1.man.in: %.1.tbl |
53 | %.1.man.in: %.1.tbl |
55 | pod2man -n rxvt -r"$(VERSION)" -q\" -s1 -c "RXVT-UNICODE" <$< >$@ |
54 | pod2man -n @@RXVT_NAME@@ -r"$(VERSION)" -q\" -s1 -c "RXVT-UNICODE" <$< >$@ |
56 | |
55 | |
57 | %.3.man.in: %.3.tbl |
56 | %.3.man.in: %.3.tbl |
58 | pod2man -n rxvt -r"$(VERSION)" -q\" -s3 -c "RXVT-UNICODE" <$< >$@ |
57 | pod2man -n @@RXVT_NAME@@ -r"$(VERSION)" -q\" -s3 -c "RXVT-UNICODE" <$< >$@ |
59 | |
58 | |
60 | %.7.man.in: %.7.tbl |
59 | %.7.man.in: %.7.tbl |
61 | pod2man -n rxvt -r"$(VERSION)" -q\" -s7 -c "RXVT-UNICODE" <$< >$@ |
60 | pod2man -n @@RXVT_NAME@@ -r"$(VERSION)" -q\" -s7 -c "RXVT-UNICODE" <$< >$@ |
62 | |
61 | |
63 | %.html: %.tbl |
62 | %.html: %.tbl |
64 | $(SED) $(SEDREPLACE) <$< | pod2html >$@ |
63 | $(SED) $(SEDREPLACE) <$< | pod2html >$@ |
65 | |
64 | |
66 | %.txt: %.tbl |
65 | %.txt: %.tbl |
… | |
… | |
68 | |
67 | |
69 | ../README.configure: rxvt.7.tbl |
68 | ../README.configure: rxvt.7.tbl |
70 | $(SED) $(SEDREPLACE) <$< | podselect -section "CONFIGURE OPTIONS" | pod2text >$@ |
69 | $(SED) $(SEDREPLACE) <$< | podselect -section "CONFIGURE OPTIONS" | pod2text >$@ |
71 | |
70 | |
72 | ../README.FAQ: rxvt.7.tbl |
71 | ../README.FAQ: rxvt.7.tbl |
73 | $(SED) $(SEDREPLACE) <$< | podselect -section "FREQUENTLY ASKED QUESTIONS" | pod2text >$@ |
72 | $(SED) $(SEDREPLACE) <$< | podselect -section "RXVT-UNICODE\/URXVT FREQUENTLY ASKED QUESTIONS" | pod2text >$@ |
74 | |
73 | |
75 | tags allbin: |
74 | tags allbin: |
76 | |
75 | |
77 | alldoc: rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in rxvtperl.3.man.in \ |
76 | alldoc: rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in rxvtperl.3.man.in \ |
78 | rxvt.1.txt rxvt.7.txt rxvtc.1.txt rxvtd.1.txt rxvtperl.3.txt \ |
77 | rxvt.1.txt rxvt.7.txt rxvtc.1.txt rxvtd.1.txt rxvtperl.3.txt \ |
79 | rxvt.1.html rxvt.7.html rxvtc.1.html rxvtd.1.html rxvtperl.3.html \ |
78 | rxvt.1.html rxvt.7.html rxvtc.1.html rxvtd.1.html rxvtperl.3.html \ |
80 | ../README.configure ../README.FAQ |
79 | ../README.configure ../README.FAQ |
81 | infocmp -C rxvt-unicode >etc/rxvt-unicode.termcap |
80 | infocmp -C rxvt-unicode >etc/rxvt-unicode.termcap |
82 | |
81 | |
83 | clean: |
82 | clean: |
84 | $(RMF) *~ |
83 | rm -f *~ |
85 | |
84 | |
86 | realclean: clean |
85 | realclean: clean |
87 | $(RMF) tags ../README.configure ../README.FAQ |
86 | rm -f tags ../README.configure ../README.FAQ |
88 | $(RMF) rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in |
87 | rm -f rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in |
89 | $(RMF) rxvt.1.man rxvt.7.man rxvtc.1.man rxvtd.1.man |
88 | rm -f rxvt.1.man rxvt.7.man rxvtc.1.man rxvtd.1.man |
90 | $(RMF) rxvt.1.txt rxvt.7.txt rxvtc.1.txt rxvtd.1.txt |
89 | rm -f rxvt.1.txt rxvt.7.txt rxvtc.1.txt rxvtd.1.txt |
91 | $(RMF) rxvt.1.html rxvt.7.html rxvtc.1.html rxvtd.1.html |
90 | rm -f rxvt.1.html rxvt.7.html rxvtc.1.html rxvtd.1.html |
92 | |
91 | |
93 | cleandir: realclean |
92 | cleandir: realclean |
94 | |
93 | |
95 | distclean: |
94 | distclean: |
96 | |
95 | |
… | |
… | |
109 | @IF_PERL@ $(SED) $(SEDREPLACE) < rxvtperl.3.man.in >rxvtperl.3.man |
108 | @IF_PERL@ $(SED) $(SEDREPLACE) < rxvtperl.3.man.in >rxvtperl.3.man |
110 | @IF_PERL@ $(INSTALL_DATA) rxvtperl.3.man $(DESTDIR)$(man3dir)/$(RXVTNAME)perl.$(man3ext) |
109 | @IF_PERL@ $(INSTALL_DATA) rxvtperl.3.man $(DESTDIR)$(man3dir)/$(RXVTNAME)perl.$(man3ext) |
111 | if test -x "@TIC@"; then if test -n "@TIC@"; then @TIC@ etc/rxvt-unicode.terminfo; fi; fi |
110 | if test -x "@TIC@"; then if test -n "@TIC@"; then @TIC@ etc/rxvt-unicode.terminfo; fi; fi |
112 | |
111 | |
113 | uninstall: |
112 | uninstall: |
114 | -(cd $(mandir); $(RMF) $(RXVTNAME).$(manext) ) |
113 | -(cd $(mandir); rm -f $(RXVTNAME).$(manext) ) |
115 | |
114 | |
116 | distdepend: alldoc |
115 | distdepend: alldoc |
117 | |
116 | |
118 | # ------------------------------------------------------------------------ |
117 | # ------------------------------------------------------------------------ |
119 | # DO NOT DELETE: ugly dependency list follows |
118 | # DO NOT DELETE: ugly dependency list follows |