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