1 |
# doc/Makefile.in -*- Makefile -*- |
2 |
|
3 |
DATE=@DATE@ |
4 |
VERSION=@VERSION@ |
5 |
RXVTNAME=@RXVTNAME@ |
6 |
SHELL = /bin/sh |
7 |
prefix = @prefix@ |
8 |
exec_prefix = @exec_prefix@ |
9 |
bindir = @bindir@ |
10 |
libdir = @libdir@ |
11 |
includedir = @includedir@ |
12 |
man1dir = @mandir@/man1 |
13 |
man1ext = 1 |
14 |
man3dir = @mandir@/man3 |
15 |
man3ext = 3 |
16 |
man7dir = @mandir@/man7 |
17 |
man7ext = 7 |
18 |
RM = @RM@ |
19 |
RMF = @RM@ -f |
20 |
CP = @CP@ |
21 |
LN = @LN@ |
22 |
SED = @SED@ |
23 |
ECHO = @ECHO@ |
24 |
PERL = @PERL@ |
25 |
INSTALL = @INSTALL@ |
26 |
INSTALL_PROGRAM = @INSTALL@ -m 755 |
27 |
INSTALL_DATA = @INSTALL@ -m 644 |
28 |
|
29 |
srcdir = @srcdir@ |
30 |
VPATH = @srcdir@ |
31 |
.PATH: @srcdir@ |
32 |
|
33 |
basedir = .. |
34 |
thisdir = doc |
35 |
|
36 |
first_rule: all |
37 |
dummy: |
38 |
|
39 |
#------------------------------------------------------------------------- |
40 |
|
41 |
all: |
42 |
|
43 |
SEDREPLACE = -e 's%@@RXVT_VERSION@@%$(VERSION)%g;' \ |
44 |
-e 's%@@RXVT_NAME@@%$(RXVTNAME)%g;' \ |
45 |
-e 's%@@RXVT_DATE@@%$(DATE)%g;' \ |
46 |
-e 's%@@RXVT_LIBDIR@@%$(libdir)%g;' |
47 |
|
48 |
rxvtperl.3.pod: ../src/urxvt.pm |
49 |
$(CP) $< $@ |
50 |
|
51 |
%.tbl: %.pod |
52 |
./podtbl <$< >$@ |
53 |
|
54 |
%.1.man.in: %.1.tbl |
55 |
pod2man -n rxvt -r"$(VERSION)" -q\" -s1 -c "RXVT-UNICODE" <$< >$@ |
56 |
|
57 |
%.3.man.in: %.3.tbl |
58 |
pod2man -n rxvt -r"$(VERSION)" -q\" -s3 -c "RXVT-UNICODE" <$< >$@ |
59 |
|
60 |
%.7.man.in: %.7.tbl |
61 |
pod2man -n rxvt -r"$(VERSION)" -q\" -s7 -c "RXVT-UNICODE" <$< >$@ |
62 |
|
63 |
%.html: %.tbl |
64 |
$(SED) $(SEDREPLACE) <$< | pod2html >$@ |
65 |
|
66 |
%.txt: %.tbl |
67 |
$(SED) $(SEDREPLACE) <$< | pod2text >$@ |
68 |
|
69 |
../README.configure: rxvt.7.tbl |
70 |
$(SED) $(SEDREPLACE) <$< | podselect -section "CONFIGURE OPTIONS" | pod2text >$@ |
71 |
|
72 |
../README.FAQ: rxvt.7.tbl |
73 |
$(SED) $(SEDREPLACE) <$< | podselect -section "FREQUENTLY ASKED QUESTIONS" | pod2text >$@ |
74 |
|
75 |
tags allbin: |
76 |
|
77 |
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 \ |
79 |
rxvt.1.html rxvt.7.html rxvtc.1.html rxvtd.1.html rxvtperl.3.html \ |
80 |
../README.configure ../README.FAQ |
81 |
infocmp -C rxvt-unicode >etc/rxvt-unicode.termcap |
82 |
|
83 |
clean: |
84 |
$(RMF) *~ |
85 |
|
86 |
realclean: clean |
87 |
$(RMF) tags ../README.configure ../README.FAQ |
88 |
$(RMF) 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 |
90 |
$(RMF) 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 |
92 |
|
93 |
cleandir: realclean |
94 |
|
95 |
distclean: |
96 |
|
97 |
install: |
98 |
$(INSTALL) -d $(DESTDIR)$(man1dir) |
99 |
$(SED) $(SEDREPLACE) < rxvt.1.man.in >rxvt.1.man |
100 |
$(INSTALL_DATA) rxvt.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME).$(man1ext) |
101 |
$(SED) $(SEDREPLACE) < rxvtc.1.man.in >rxvtc.1.man |
102 |
$(INSTALL_DATA) rxvtc.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)c.$(man1ext) |
103 |
$(SED) $(SEDREPLACE) < rxvtd.1.man.in >rxvtd.1.man |
104 |
$(INSTALL_DATA) rxvtd.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)d.$(man1ext) |
105 |
$(INSTALL) -d $(DESTDIR)$(man7dir) |
106 |
$(SED) $(SEDREPLACE) < rxvt.7.man.in >rxvt.7.man |
107 |
$(INSTALL_DATA) rxvt.7.man $(DESTDIR)$(man7dir)/$(RXVTNAME).$(man7ext) |
108 |
@IF_PERL@ $(INSTALL) -d $(DESTDIR)$(man3dir) |
109 |
@IF_PERL@ $(SED) $(SEDREPLACE) < rxvtperl.3.man.in >rxvtperl.3.man |
110 |
@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 |
112 |
|
113 |
uninstall: |
114 |
-(cd $(mandir); $(RMF) $(RXVTNAME).$(manext) ) |
115 |
|
116 |
distdepend: alldoc |
117 |
|
118 |
# ------------------------------------------------------------------------ |
119 |
# DO NOT DELETE: ugly dependency list follows |