1 # doc/Makefile.in -*- Makefile -*-
14 #-------------------------------------------------------------------------
18 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;'
23 rxvtperl.3.pod: ../src/urxvt.pm
30 pod2man -n rxvt -r"$(VERSION)" -q\" -s1 -c "RXVT-UNICODE" <$< >$@
33 pod2man -n rxvt -r"$(VERSION)" -q\" -s3 -c "RXVT-UNICODE" <$< >$@
36 pod2man -n rxvt -r"$(VERSION)" -q\" -s7 -c "RXVT-UNICODE" <$< >$@
39 $(SED) $(SEDREPLACE) <$< | pod2html >$@
42 $(SED) $(SEDREPLACE) <$< | pod2text >$@
44 ../README.configure: rxvt.7.tbl
45 $(SED) $(SEDREPLACE) <$< | podselect -section "CONFIGURE OPTIONS" | pod2text >$@
47 ../README.FAQ: rxvt.7.tbl
48 $(SED) $(SEDREPLACE) <$< | podselect -section "FREQUENTLY ASKED QUESTIONS" | pod2text >$@
52 alldoc: rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in rxvtperl.3.man.in \
53 rxvt.1.txt rxvt.7.txt rxvtc.1.txt rxvtd.1.txt \
54 rxvt.1.html rxvt.7.html rxvtc.1.html rxvtd.1.html rxvtperl.3.html \
55 ../README.configure ../README.FAQ
56 infocmp -C rxvt-unicode >etc/rxvt-unicode.termcap
62 $(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
73 $(INSTALL) -d $(DESTDIR)$(man1dir)
74 $(SED) $(SEDREPLACE) < rxvt.1.man.in >rxvt.1.man
75 $(INSTALL_DATA) rxvt.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME).$(man1ext)
76 $(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 $(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 if test -x "@TIC@"; then if test -n "@TIC@"; then @TIC@ etc/rxvt-unicode.terminfo; fi; fi
89 -(cd $(mandir); $(RMF) $(RXVTNAME).$(manext) )
93 # ------------------------------------------------------------------------
94 # DO NOT DELETE: ugly dependency list follows