| 1 |
pcg |
1.1 |
# doc/Makefile.in -*- Makefile -*- |
| 2 |
|
|
|
| 3 |
ayin |
1.27 |
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 |
|
|
CP = @CP@ |
| 19 |
|
|
LN = @LN@ |
| 20 |
|
|
SED = @SED@ |
| 21 |
|
|
ECHO = @ECHO@ |
| 22 |
|
|
PERL = @PERL@ |
| 23 |
|
|
INSTALL = @INSTALL@ |
| 24 |
|
|
INSTALL_PROGRAM = @INSTALL@ -m 755 |
| 25 |
|
|
INSTALL_DATA = @INSTALL@ -m 644 |
| 26 |
|
|
|
| 27 |
pcg |
1.1 |
srcdir = @srcdir@ |
| 28 |
|
|
VPATH = @srcdir@ |
| 29 |
|
|
.PATH: @srcdir@ |
| 30 |
|
|
|
| 31 |
|
|
basedir = .. |
| 32 |
|
|
thisdir = doc |
| 33 |
|
|
|
| 34 |
|
|
first_rule: all |
| 35 |
|
|
dummy: |
| 36 |
|
|
|
| 37 |
|
|
#------------------------------------------------------------------------- |
| 38 |
|
|
|
| 39 |
root |
1.14 |
all: |
| 40 |
|
|
|
| 41 |
root |
1.24 |
SEDREPLACE = -e 's%@@RXVT_VERSION@@%$(VERSION)%g;' \ |
| 42 |
|
|
-e 's%@@RXVT_NAME@@%$(RXVTNAME)%g;' \ |
| 43 |
|
|
-e 's%@@RXVT_DATE@@%$(DATE)%g;' \ |
| 44 |
root |
1.30 |
-e 's%@@RXVT_LIBDIR@@%$(libdir)%g;' \ |
| 45 |
|
|
-e 's%@@URXVT_NAME@@%urxvt%g;' |
| 46 |
root |
1.24 |
|
| 47 |
|
|
rxvtperl.3.pod: ../src/urxvt.pm |
| 48 |
root |
1.28 |
$(CP) $< $@ |
| 49 |
root |
1.14 |
|
| 50 |
root |
1.19 |
%.tbl: %.pod |
| 51 |
|
|
./podtbl <$< >$@ |
| 52 |
root |
1.14 |
|
| 53 |
root |
1.19 |
%.1.man.in: %.1.tbl |
| 54 |
root |
1.31 |
pod2man -n @@RXVT_NAME@@ -r"$(VERSION)" -q\" -s1 -c "RXVT-UNICODE" <$< >$@ |
| 55 |
root |
1.14 |
|
| 56 |
root |
1.24 |
%.3.man.in: %.3.tbl |
| 57 |
root |
1.31 |
pod2man -n @@RXVT_NAME@@ -r"$(VERSION)" -q\" -s3 -c "RXVT-UNICODE" <$< >$@ |
| 58 |
root |
1.24 |
|
| 59 |
root |
1.19 |
%.7.man.in: %.7.tbl |
| 60 |
root |
1.31 |
pod2man -n @@RXVT_NAME@@ -r"$(VERSION)" -q\" -s7 -c "RXVT-UNICODE" <$< >$@ |
| 61 |
root |
1.14 |
|
| 62 |
root |
1.19 |
%.html: %.tbl |
| 63 |
|
|
$(SED) $(SEDREPLACE) <$< | pod2html >$@ |
| 64 |
root |
1.14 |
|
| 65 |
root |
1.19 |
%.txt: %.tbl |
| 66 |
|
|
$(SED) $(SEDREPLACE) <$< | pod2text >$@ |
| 67 |
pcg |
1.1 |
|
| 68 |
root |
1.19 |
../README.configure: rxvt.7.tbl |
| 69 |
|
|
$(SED) $(SEDREPLACE) <$< | podselect -section "CONFIGURE OPTIONS" | pod2text >$@ |
| 70 |
pcg |
1.1 |
|
| 71 |
root |
1.19 |
../README.FAQ: rxvt.7.tbl |
| 72 |
root |
1.31 |
$(SED) $(SEDREPLACE) <$< | podselect -section "RXVT-UNICODE\/URXVT FREQUENTLY ASKED QUESTIONS" | pod2text >$@ |
| 73 |
pcg |
1.1 |
|
| 74 |
|
|
tags allbin: |
| 75 |
|
|
|
| 76 |
root |
1.24 |
alldoc: rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in rxvtperl.3.man.in \ |
| 77 |
root |
1.25 |
rxvt.1.txt rxvt.7.txt rxvtc.1.txt rxvtd.1.txt rxvtperl.3.txt \ |
| 78 |
root |
1.24 |
rxvt.1.html rxvt.7.html rxvtc.1.html rxvtd.1.html rxvtperl.3.html \ |
| 79 |
root |
1.23 |
../README.configure ../README.FAQ |
| 80 |
root |
1.22 |
infocmp -C rxvt-unicode >etc/rxvt-unicode.termcap |
| 81 |
pcg |
1.1 |
|
| 82 |
|
|
clean: |
| 83 |
ayin |
1.29 |
rm -f *~ |
| 84 |
pcg |
1.1 |
|
| 85 |
|
|
realclean: clean |
| 86 |
ayin |
1.29 |
rm -f tags ../README.configure ../README.FAQ |
| 87 |
|
|
rm -f rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in |
| 88 |
|
|
rm -f rxvt.1.man rxvt.7.man rxvtc.1.man rxvtd.1.man |
| 89 |
|
|
rm -f rxvt.1.txt rxvt.7.txt rxvtc.1.txt rxvtd.1.txt |
| 90 |
|
|
rm -f rxvt.1.html rxvt.7.html rxvtc.1.html rxvtd.1.html |
| 91 |
pcg |
1.1 |
|
| 92 |
|
|
cleandir: realclean |
| 93 |
|
|
|
| 94 |
|
|
distclean: |
| 95 |
|
|
|
| 96 |
root |
1.14 |
install: |
| 97 |
|
|
$(INSTALL) -d $(DESTDIR)$(man1dir) |
| 98 |
root |
1.19 |
$(SED) $(SEDREPLACE) < rxvt.1.man.in >rxvt.1.man |
| 99 |
root |
1.14 |
$(INSTALL_DATA) rxvt.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME).$(man1ext) |
| 100 |
root |
1.23 |
$(SED) $(SEDREPLACE) < rxvtc.1.man.in >rxvtc.1.man |
| 101 |
|
|
$(INSTALL_DATA) rxvtc.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)c.$(man1ext) |
| 102 |
|
|
$(SED) $(SEDREPLACE) < rxvtd.1.man.in >rxvtd.1.man |
| 103 |
|
|
$(INSTALL_DATA) rxvtd.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)d.$(man1ext) |
| 104 |
root |
1.24 |
$(INSTALL) -d $(DESTDIR)$(man7dir) |
| 105 |
|
|
$(SED) $(SEDREPLACE) < rxvt.7.man.in >rxvt.7.man |
| 106 |
|
|
$(INSTALL_DATA) rxvt.7.man $(DESTDIR)$(man7dir)/$(RXVTNAME).$(man7ext) |
| 107 |
|
|
@IF_PERL@ $(INSTALL) -d $(DESTDIR)$(man3dir) |
| 108 |
|
|
@IF_PERL@ $(SED) $(SEDREPLACE) < rxvtperl.3.man.in >rxvtperl.3.man |
| 109 |
|
|
@IF_PERL@ $(INSTALL_DATA) rxvtperl.3.man $(DESTDIR)$(man3dir)/$(RXVTNAME)perl.$(man3ext) |
| 110 |
root |
1.16 |
if test -x "@TIC@"; then if test -n "@TIC@"; then @TIC@ etc/rxvt-unicode.terminfo; fi; fi |
| 111 |
pcg |
1.1 |
|
| 112 |
|
|
uninstall: |
| 113 |
ayin |
1.29 |
-(cd $(mandir); rm -f $(RXVTNAME).$(manext) ) |
| 114 |
pcg |
1.1 |
|
| 115 |
|
|
distdepend: alldoc |
| 116 |
|
|
|
| 117 |
|
|
# ------------------------------------------------------------------------ |
| 118 |
|
|
# DO NOT DELETE: ugly dependency list follows |