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
33 INSTALL_PROGRAM = @INSTALL@ -m 755
34 INSTALL_DATA = @INSTALL@ -m 644
36 CPPFLAGS = @CPPFLAGS@ @XPM_CPPFLAGS@
42 XINC = @X_CFLAGS@ @XPM_CFLAGS@
43 XLIB = @X_LIBS@ @XPM_LIBS@ -lX11 @X_EXTRA_LIBS@
44 COMPILE = $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS) $(DEBUG) $(DINCLUDE) $(XINC) -I$(basedir) -I$(srcdir) -I.
45 LINK = @LINKER@ $(LDFLAGS)
57 #-------------------------------------------------------------------------
61 SEDREPLACE = -e 's%@@RXVT_VERSION@@%$(VERSION)%g;' \
62 -e 's%@@RXVT_NAME@@%$(RXVTNAME)%g;' \
63 -e 's%@@RXVT_DATE@@%$(DATE)%g;' \
64 -e 's%@@RXVT_LIBDIR@@%$(libdir)%g;'
66 rxvtperl.3.pod: ../src/urxvt.pm
73 pod2man -n rxvt -r"$(VERSION)" -q\" -s1 -c "RXVT-UNICODE" <$< >$@
76 pod2man -n rxvt -r"$(VERSION)" -q\" -s3 -c "RXVT-UNICODE" <$< >$@
79 pod2man -n rxvt -r"$(VERSION)" -q\" -s7 -c "RXVT-UNICODE" <$< >$@
82 $(SED) $(SEDREPLACE) <$< | pod2html >$@
85 $(SED) $(SEDREPLACE) <$< | pod2text >$@
87 ../README.configure: rxvt.7.tbl
88 $(SED) $(SEDREPLACE) <$< | podselect -section "CONFIGURE OPTIONS" | pod2text >$@
90 ../README.FAQ: rxvt.7.tbl
91 $(SED) $(SEDREPLACE) <$< | podselect -section "FREQUENTLY ASKED QUESTIONS" | pod2text >$@
95 alldoc: rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in rxvtperl.3.man.in \
96 rxvt.1.txt rxvt.7.txt rxvtc.1.txt rxvtd.1.txt rxvtperl.3.txt \
97 rxvt.1.html rxvt.7.html rxvtc.1.html rxvtd.1.html rxvtperl.3.html \
98 ../README.configure ../README.FAQ
99 infocmp -C rxvt-unicode >etc/rxvt-unicode.termcap
105 $(RMF) tags ../README.configure ../README.FAQ
106 $(RMF) rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in
107 $(RMF) rxvt.1.man rxvt.7.man rxvtc.1.man rxvtd.1.man
108 $(RMF) rxvt.1.txt rxvt.7.txt rxvtc.1.txt rxvtd.1.txt
109 $(RMF) rxvt.1.html rxvt.7.html rxvtc.1.html rxvtd.1.html
116 $(INSTALL) -d $(DESTDIR)$(man1dir)
117 $(SED) $(SEDREPLACE) < rxvt.1.man.in >rxvt.1.man
118 $(INSTALL_DATA) rxvt.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME).$(man1ext)
119 $(SED) $(SEDREPLACE) < rxvtc.1.man.in >rxvtc.1.man
120 $(INSTALL_DATA) rxvtc.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)c.$(man1ext)
121 $(SED) $(SEDREPLACE) < rxvtd.1.man.in >rxvtd.1.man
122 $(INSTALL_DATA) rxvtd.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)d.$(man1ext)
123 $(INSTALL) -d $(DESTDIR)$(man7dir)
124 $(SED) $(SEDREPLACE) < rxvt.7.man.in >rxvt.7.man
125 $(INSTALL_DATA) rxvt.7.man $(DESTDIR)$(man7dir)/$(RXVTNAME).$(man7ext)
126 @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(man3dir)
127 @IF_PERL@ $(SED) $(SEDREPLACE) < rxvtperl.3.man.in >rxvtperl.3.man
128 @IF_PERL@ $(INSTALL_DATA) rxvtperl.3.man $(DESTDIR)$(man3dir)/$(RXVTNAME)perl.$(man3ext)
129 if test -x "@TIC@"; then if test -n "@TIC@"; then @TIC@ etc/rxvt-unicode.terminfo; fi; fi
132 -(cd $(mandir); $(RMF) $(RXVTNAME).$(manext) )
136 # ------------------------------------------------------------------------
137 # DO NOT DELETE: ugly dependency list follows