… | |
… | |
13 | |
13 | |
14 | #------------------------------------------------------------------------- |
14 | #------------------------------------------------------------------------- |
15 | |
15 | |
16 | all: |
16 | all: |
17 | |
17 | |
18 | SEDREPLACE = -e 's%@@RXVT_VERSION@@%$(VERSION)%g;'\ |
18 | SEDREPLACE = -e 's%@@RXVT_VERSION@@%$(VERSION)%g;' \ |
19 | -e 's%@@RXVT_NAME@@%$(RXVTNAME)%g;'\ |
19 | -e 's%@@RXVT_NAME@@%$(RXVTNAME)%g;' \ |
20 | -e 's%@@RXVT_DATE@@%$(DATE)%g;' |
20 | -e 's%@@RXVT_DATE@@%$(DATE)%g;' \ |
|
|
21 | -e 's%@@RXVT_LIBDIR@@%$(libdir)%g;' |
|
|
22 | |
|
|
23 | rxvtperl.3.pod: ../src/urxvt.pm |
|
|
24 | cp $< $@ |
21 | |
25 | |
22 | %.tbl: %.pod |
26 | %.tbl: %.pod |
23 | ./podtbl <$< >$@ |
27 | ./podtbl <$< >$@ |
24 | |
28 | |
25 | %.1.man.in: %.1.tbl |
29 | %.1.man.in: %.1.tbl |
26 | pod2man -n rxvt -r"$(VERSION)" -q\" -s1 -c "RXVT-UNICODE" <$< >$@ |
30 | pod2man -n rxvt -r"$(VERSION)" -q\" -s1 -c "RXVT-UNICODE" <$< >$@ |
|
|
31 | |
|
|
32 | %.3.man.in: %.3.tbl |
|
|
33 | pod2man -n rxvt -r"$(VERSION)" -q\" -s3 -c "RXVT-UNICODE" <$< >$@ |
27 | |
34 | |
28 | %.7.man.in: %.7.tbl |
35 | %.7.man.in: %.7.tbl |
29 | pod2man -n rxvt -r"$(VERSION)" -q\" -s7 -c "RXVT-UNICODE" <$< >$@ |
36 | pod2man -n rxvt -r"$(VERSION)" -q\" -s7 -c "RXVT-UNICODE" <$< >$@ |
30 | |
37 | |
31 | %.html: %.tbl |
38 | %.html: %.tbl |
… | |
… | |
40 | ../README.FAQ: rxvt.7.tbl |
47 | ../README.FAQ: rxvt.7.tbl |
41 | $(SED) $(SEDREPLACE) <$< | podselect -section "FREQUENTLY ASKED QUESTIONS" | pod2text >$@ |
48 | $(SED) $(SEDREPLACE) <$< | podselect -section "FREQUENTLY ASKED QUESTIONS" | pod2text >$@ |
42 | |
49 | |
43 | tags allbin: |
50 | tags allbin: |
44 | |
51 | |
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 |
52 | alldoc: rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in rxvtperl.3.man.in \ |
|
|
53 | rxvt.1.txt rxvt.7.txt rxvtc.1.txt rxvtd.1.txt rxvtperl.3.txt \ |
|
|
54 | rxvt.1.html rxvt.7.html rxvtc.1.html rxvtd.1.html rxvtperl.3.html \ |
|
|
55 | ../README.configure ../README.FAQ |
|
|
56 | infocmp -C rxvt-unicode >etc/rxvt-unicode.termcap |
46 | |
57 | |
47 | clean: |
58 | clean: |
48 | $(RMF) *~ |
59 | $(RMF) *~ |
49 | |
60 | |
50 | realclean: clean |
61 | realclean: clean |
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 |
62 | $(RMF) tags ../README.configure ../README.FAQ |
|
|
63 | $(RMF) rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in |
|
|
64 | $(RMF) rxvt.1.man rxvt.7.man rxvtc.1.man rxvtd.1.man |
|
|
65 | $(RMF) rxvt.1.txt rxvt.7.txt rxvtc.1.txt rxvtd.1.txt |
|
|
66 | $(RMF) rxvt.1.html rxvt.7.html rxvtc.1.html rxvtd.1.html |
52 | |
67 | |
53 | cleandir: realclean |
68 | cleandir: realclean |
54 | |
69 | |
55 | distclean: |
70 | distclean: |
56 | |
71 | |
57 | install: |
72 | install: |
58 | $(INSTALL) -d $(DESTDIR)$(man1dir) |
73 | $(INSTALL) -d $(DESTDIR)$(man1dir) |
59 | $(INSTALL) -d $(DESTDIR)$(man7dir) |
|
|
60 | $(SED) $(SEDREPLACE) < rxvt.1.man.in >rxvt.1.man |
74 | $(SED) $(SEDREPLACE) < rxvt.1.man.in >rxvt.1.man |
61 | $(INSTALL_DATA) rxvt.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME).$(man1ext) |
75 | $(INSTALL_DATA) rxvt.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME).$(man1ext) |
|
|
76 | $(SED) $(SEDREPLACE) < rxvtc.1.man.in >rxvtc.1.man |
|
|
77 | $(INSTALL_DATA) rxvtc.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)c.$(man1ext) |
|
|
78 | $(SED) $(SEDREPLACE) < rxvtd.1.man.in >rxvtd.1.man |
|
|
79 | $(INSTALL_DATA) rxvtd.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)d.$(man1ext) |
|
|
80 | $(INSTALL) -d $(DESTDIR)$(man7dir) |
62 | $(SED) $(SEDREPLACE) < rxvt.7.man.in >rxvt.7.man |
81 | $(SED) $(SEDREPLACE) < rxvt.7.man.in >rxvt.7.man |
63 | $(INSTALL_DATA) rxvt.7.man $(DESTDIR)$(man7dir)/$(RXVTNAME).$(man7ext) |
82 | $(INSTALL_DATA) rxvt.7.man $(DESTDIR)$(man7dir)/$(RXVTNAME).$(man7ext) |
|
|
83 | @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(man3dir) |
|
|
84 | @IF_PERL@ $(SED) $(SEDREPLACE) < rxvtperl.3.man.in >rxvtperl.3.man |
64 | $(INSTALL_DATA) rxvtc.1 $(DESTDIR)$(man1dir)/$(RXVTNAME)c.$(man1ext) |
85 | @IF_PERL@ $(INSTALL_DATA) rxvtperl.3.man $(DESTDIR)$(man3dir)/$(RXVTNAME)perl.$(man3ext) |
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 |
86 | if test -x "@TIC@"; then if test -n "@TIC@"; then @TIC@ etc/rxvt-unicode.terminfo; fi; fi |
67 | |
87 | |
68 | uninstall: |
88 | uninstall: |
69 | -(cd $(mandir); $(RMF) $(RXVTNAME).$(manext) ) |
89 | -(cd $(mandir); $(RMF) $(RXVTNAME).$(manext) ) |
70 | |
90 | |