1 # doc/Makefile.in -*- Makefile -*-
8 exec_prefix = @exec_prefix@
11 includedir = @includedir@
12 man1dir = @mandir@/man1
14 man3dir = @mandir@/man3
16 man7dir = @mandir@/man7
26 INSTALL_PROGRAM = @INSTALL@ -m 755
27 INSTALL_DATA = @INSTALL@ -m 644
39 #-------------------------------------------------------------------------
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;'
48 rxvtperl.3.pod: ../src/urxvt.pm
55 pod2man -n rxvt -r"$(VERSION)" -q\" -s1 -c "RXVT-UNICODE" <$< >$@
58 pod2man -n rxvt -r"$(VERSION)" -q\" -s3 -c "RXVT-UNICODE" <$< >$@
61 pod2man -n rxvt -r"$(VERSION)" -q\" -s7 -c "RXVT-UNICODE" <$< >$@
64 $(SED) $(SEDREPLACE) <$< | pod2html >$@
67 $(SED) $(SEDREPLACE) <$< | pod2text >$@
69 ../README.configure: rxvt.7.tbl
70 $(SED) $(SEDREPLACE) <$< | podselect -section "CONFIGURE OPTIONS" | pod2text >$@
72 ../README.FAQ: rxvt.7.tbl
73 $(SED) $(SEDREPLACE) <$< | podselect -section "FREQUENTLY ASKED QUESTIONS" | pod2text >$@
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
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
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
114 -(cd $(mandir); $(RMF) $(RXVTNAME).$(manext) )
118 # ------------------------------------------------------------------------
119 # DO NOT DELETE: ugly dependency list follows