… | |
… | |
39 | all: |
39 | all: |
40 | |
40 | |
41 | SEDREPLACE = -e 's%@@RXVT_VERSION@@%$(VERSION)%g;' \ |
41 | SEDREPLACE = -e 's%@@RXVT_VERSION@@%$(VERSION)%g;' \ |
42 | -e 's%@@RXVT_NAME@@%$(RXVTNAME)%g;' \ |
42 | -e 's%@@RXVT_NAME@@%$(RXVTNAME)%g;' \ |
43 | -e 's%@@RXVT_DATE@@%$(DATE)%g;' \ |
43 | -e 's%@@RXVT_DATE@@%$(DATE)%g;' \ |
44 | -e 's%@@RXVT_LIBDIR@@%$(libdir)%g;' |
44 | -e 's%@@RXVT_LIBDIR@@%$(libdir)%g;' \ |
|
|
45 | -e 's%@@URXVT_NAME@@%urxvt%g;' |
45 | |
46 | |
46 | rxvtperl.3.pod: ../src/urxvt.pm |
47 | rxvtperl.3.pod: ../src/urxvt.pm |
47 | $(CP) $< $@ |
48 | $(CP) $< $@ |
48 | |
49 | |
49 | %.tbl: %.pod |
50 | %.tbl: %.pod |
50 | ./podtbl <$< >$@ |
51 | ./podtbl <$< >$@ |
51 | |
52 | |
52 | %.1.man.in: %.1.tbl |
53 | %.1.man.in: %.1.tbl |
53 | pod2man -n rxvt -r"$(VERSION)" -q\" -s1 -c "RXVT-UNICODE" <$< >$@ |
54 | pod2man -n @@RXVT_NAME@@ -r"$(VERSION)" -q\" -s1 -c "RXVT-UNICODE" <$< >$@ |
54 | |
55 | |
55 | %.3.man.in: %.3.tbl |
56 | %.3.man.in: %.3.tbl |
56 | pod2man -n rxvt -r"$(VERSION)" -q\" -s3 -c "RXVT-UNICODE" <$< >$@ |
57 | pod2man -n @@RXVT_NAME@@ -r"$(VERSION)" -q\" -s3 -c "RXVT-UNICODE" <$< >$@ |
57 | |
58 | |
58 | %.7.man.in: %.7.tbl |
59 | %.7.man.in: %.7.tbl |
59 | pod2man -n rxvt -r"$(VERSION)" -q\" -s7 -c "RXVT-UNICODE" <$< >$@ |
60 | pod2man -n @@RXVT_NAME@@ -r"$(VERSION)" -q\" -s7 -c "RXVT-UNICODE" <$< >$@ |
60 | |
61 | |
61 | %.html: %.tbl |
62 | %.html: %.tbl |
62 | $(SED) $(SEDREPLACE) <$< | pod2html >$@ |
63 | $(SED) $(SEDREPLACE) <$< | pod2html >$@ |
63 | |
64 | |
64 | %.txt: %.tbl |
65 | %.txt: %.tbl |
… | |
… | |
66 | |
67 | |
67 | ../README.configure: rxvt.7.tbl |
68 | ../README.configure: rxvt.7.tbl |
68 | $(SED) $(SEDREPLACE) <$< | podselect -section "CONFIGURE OPTIONS" | pod2text >$@ |
69 | $(SED) $(SEDREPLACE) <$< | podselect -section "CONFIGURE OPTIONS" | pod2text >$@ |
69 | |
70 | |
70 | ../README.FAQ: rxvt.7.tbl |
71 | ../README.FAQ: rxvt.7.tbl |
71 | $(SED) $(SEDREPLACE) <$< | podselect -section "FREQUENTLY ASKED QUESTIONS" | pod2text >$@ |
72 | $(SED) $(SEDREPLACE) <$< | podselect -section "RXVT-UNICODE\/URXVT FREQUENTLY ASKED QUESTIONS" | pod2text >$@ |
72 | |
73 | |
73 | tags allbin: |
74 | tags allbin: |
74 | |
75 | |
75 | 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 \ |
76 | 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 \ |