1 |
pcg |
1.1 |
# doc/Makefile.in -*- Makefile -*- |
2 |
|
|
@MCOMMON@ |
3 |
|
|
|
4 |
|
|
srcdir = @srcdir@ |
5 |
|
|
VPATH = @srcdir@ |
6 |
|
|
.PATH: @srcdir@ |
7 |
|
|
|
8 |
|
|
basedir = .. |
9 |
|
|
thisdir = doc |
10 |
|
|
|
11 |
|
|
first_rule: all |
12 |
|
|
dummy: |
13 |
|
|
|
14 |
|
|
#------------------------------------------------------------------------- |
15 |
|
|
|
16 |
root |
1.14 |
all: |
17 |
|
|
|
18 |
root |
1.24 |
SEDREPLACE = -e 's%@@RXVT_VERSION@@%$(VERSION)%g;' \ |
19 |
|
|
-e 's%@@RXVT_NAME@@%$(RXVTNAME)%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 $< $@ |
25 |
root |
1.14 |
|
26 |
root |
1.19 |
%.tbl: %.pod |
27 |
|
|
./podtbl <$< >$@ |
28 |
root |
1.14 |
|
29 |
root |
1.19 |
%.1.man.in: %.1.tbl |
30 |
root |
1.20 |
pod2man -n rxvt -r"$(VERSION)" -q\" -s1 -c "RXVT-UNICODE" <$< >$@ |
31 |
root |
1.14 |
|
32 |
root |
1.24 |
%.3.man.in: %.3.tbl |
33 |
|
|
pod2man -n rxvt -r"$(VERSION)" -q\" -s3 -c "RXVT-UNICODE" <$< >$@ |
34 |
|
|
|
35 |
root |
1.19 |
%.7.man.in: %.7.tbl |
36 |
root |
1.20 |
pod2man -n rxvt -r"$(VERSION)" -q\" -s7 -c "RXVT-UNICODE" <$< >$@ |
37 |
root |
1.14 |
|
38 |
root |
1.19 |
%.html: %.tbl |
39 |
|
|
$(SED) $(SEDREPLACE) <$< | pod2html >$@ |
40 |
root |
1.14 |
|
41 |
root |
1.19 |
%.txt: %.tbl |
42 |
|
|
$(SED) $(SEDREPLACE) <$< | pod2text >$@ |
43 |
pcg |
1.1 |
|
44 |
root |
1.19 |
../README.configure: rxvt.7.tbl |
45 |
|
|
$(SED) $(SEDREPLACE) <$< | podselect -section "CONFIGURE OPTIONS" | pod2text >$@ |
46 |
pcg |
1.1 |
|
47 |
root |
1.19 |
../README.FAQ: rxvt.7.tbl |
48 |
|
|
$(SED) $(SEDREPLACE) <$< | podselect -section "FREQUENTLY ASKED QUESTIONS" | pod2text >$@ |
49 |
pcg |
1.1 |
|
50 |
|
|
tags allbin: |
51 |
|
|
|
52 |
root |
1.24 |
alldoc: rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in rxvtperl.3.man.in \ |
53 |
root |
1.25 |
rxvt.1.txt rxvt.7.txt rxvtc.1.txt rxvtd.1.txt rxvtperl.3.txt \ |
54 |
root |
1.24 |
rxvt.1.html rxvt.7.html rxvtc.1.html rxvtd.1.html rxvtperl.3.html \ |
55 |
root |
1.23 |
../README.configure ../README.FAQ |
56 |
root |
1.22 |
infocmp -C rxvt-unicode >etc/rxvt-unicode.termcap |
57 |
pcg |
1.1 |
|
58 |
|
|
clean: |
59 |
root |
1.14 |
$(RMF) *~ |
60 |
pcg |
1.1 |
|
61 |
|
|
realclean: clean |
62 |
root |
1.23 |
$(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 |
67 |
pcg |
1.1 |
|
68 |
|
|
cleandir: realclean |
69 |
|
|
|
70 |
|
|
distclean: |
71 |
|
|
|
72 |
root |
1.14 |
install: |
73 |
|
|
$(INSTALL) -d $(DESTDIR)$(man1dir) |
74 |
root |
1.19 |
$(SED) $(SEDREPLACE) < rxvt.1.man.in >rxvt.1.man |
75 |
root |
1.14 |
$(INSTALL_DATA) rxvt.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME).$(man1ext) |
76 |
root |
1.23 |
$(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 |
root |
1.24 |
$(INSTALL) -d $(DESTDIR)$(man7dir) |
81 |
|
|
$(SED) $(SEDREPLACE) < rxvt.7.man.in >rxvt.7.man |
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 |
85 |
|
|
@IF_PERL@ $(INSTALL_DATA) rxvtperl.3.man $(DESTDIR)$(man3dir)/$(RXVTNAME)perl.$(man3ext) |
86 |
root |
1.16 |
if test -x "@TIC@"; then if test -n "@TIC@"; then @TIC@ etc/rxvt-unicode.terminfo; fi; fi |
87 |
pcg |
1.1 |
|
88 |
|
|
uninstall: |
89 |
|
|
-(cd $(mandir); $(RMF) $(RXVTNAME).$(manext) ) |
90 |
|
|
|
91 |
|
|
distdepend: alldoc |
92 |
|
|
|
93 |
|
|
# ------------------------------------------------------------------------ |
94 |
|
|
# DO NOT DELETE: ugly dependency list follows |