--- rxvt-unicode/doc/Makefile.in 2007/06/07 15:24:42 1.35 +++ rxvt-unicode/doc/Makefile.in 2007/11/18 03:29:17 1.47 @@ -15,10 +15,6 @@ man3ext = 3 man7dir = @mandir@/man7 man7ext = 7 -CP = @CP@ -LN = @LN@ -SED = @SED@ -ECHO = @ECHO@ PERL = @PERL@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL@ -m 755 @@ -26,10 +22,6 @@ srcdir = @srcdir@ VPATH = @srcdir@ -.PATH: @srcdir@ - -basedir = .. -thisdir = doc first_rule: all dummy: @@ -42,39 +34,41 @@ -e 's%@@RXVT_LIBDIR@@%$(libdir)%g;' \ -e 's%@@URXVT_NAME@@%urxvt%g;' +POD2MAN = pod2man -n @@RXVT_NAME@@ -r"$(VERSION)" -q\" -c "RXVT-UNICODE" + all: - $(SED) $(SEDREPLACE) < $(srcdir)/rxvt.1.man.in >rxvt.1.man - $(SED) $(SEDREPLACE) < $(srcdir)/rxvtc.1.man.in >rxvtc.1.man - $(SED) $(SEDREPLACE) < $(srcdir)/rxvtd.1.man.in >rxvtd.1.man - $(SED) $(SEDREPLACE) < $(srcdir)/rxvt.7.man.in >rxvt.7.man -@IF_PERL@ $(SED) $(SEDREPLACE) < $(srcdir)/rxvtperl.3.man.in >rxvtperl.3.man + sed $(SEDREPLACE) < $(srcdir)/rxvt.1.man.in >rxvt.1.man + sed $(SEDREPLACE) < $(srcdir)/rxvtc.1.man.in >rxvtc.1.man + sed $(SEDREPLACE) < $(srcdir)/rxvtd.1.man.in >rxvtd.1.man + sed $(SEDREPLACE) < $(srcdir)/rxvt.7.man.in >rxvt.7.man +@IF_PERL@ sed $(SEDREPLACE) < $(srcdir)/rxvtperl.3.man.in >rxvtperl.3.man rxvtperl.3.pod: ../src/urxvt.pm - $(CP) $< $@ + cp $< $@ %.tbl: %.pod $(srcdir)/podtbl <$< >$@ %.1.man.in: %.1.tbl - pod2man -n @@RXVT_NAME@@ -r"$(VERSION)" -q\" -s1 -c "RXVT-UNICODE" <$< >$@ + $(POD2MAN) -s1 <$< >$@ %.3.man.in: %.3.tbl - pod2man -n @@RXVT_NAME@@ -r"$(VERSION)" -q\" -s3 -c "RXVT-UNICODE" <$< >$@ + $(POD2MAN) -s3 <$< >$@ %.7.man.in: %.7.tbl - pod2man -n @@RXVT_NAME@@ -r"$(VERSION)" -q\" -s7 -c "RXVT-UNICODE" <$< >$@ + $(POD2MAN) -s7 <$< >$@ %.html: %.tbl - $(SED) $(SEDREPLACE) <$< | pod2html >$@ + sed $(SEDREPLACE) <$< | pod2xhtml --css http://res.tst.eu/pod.css >$@ %.txt: %.tbl - $(SED) $(SEDREPLACE) <$< | pod2text >$@ + sed $(SEDREPLACE) <$< | pod2text >$@ ../README.configure: rxvt.7.tbl - $(SED) $(SEDREPLACE) <$< | podselect -section "CONFIGURE OPTIONS" | pod2text >$@ + sed $(SEDREPLACE) <$< | podselect -section "CONFIGURE OPTIONS" | pod2text >$@ ../README.FAQ: rxvt.7.tbl - $(SED) $(SEDREPLACE) <$< | podselect -section "RXVT-UNICODE\/URXVT FREQUENTLY ASKED QUESTIONS" | pod2text >$@ + sed $(SEDREPLACE) <$< | podselect -section "RXVT-UNICODE\/URXVT FREQUENTLY ASKED QUESTIONS" | pod2text >$@ tags allbin: @@ -86,30 +80,30 @@ clean: rm -f *~ + rm -f rxvt.1.man rxvt.7.man rxvtc.1.man rxvtd.1.man rxvtperl.3.man -realclean: clean - rm -f tags ../README.configure ../README.FAQ - rm -f rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in - rm -f rxvt.1.man rxvt.7.man rxvtc.1.man rxvtd.1.man - rm -f rxvt.1.txt rxvt.7.txt rxvtc.1.txt rxvtd.1.txt - rm -f rxvt.1.html rxvt.7.html rxvtc.1.html rxvtd.1.html +distclean: clean + rm -f Makefile -cleandir: realclean +realclean: distclean + rm -f rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in rxvtperl.3.man.in + rm -f rxvt.1.txt rxvt.7.txt rxvtc.1.txt rxvtd.1.txt rxvtperl.3.txt + rm -f rxvt.1.html rxvt.7.html rxvtc.1.html rxvtd.1.html rxvtperl.3.html + rm -f ../README.configure ../README.FAQ + rm -f $(srcdir)/etc/rxvt-unicode.termcap -distclean: +cleandir: realclean -install: +install: all $(INSTALL) -d $(DESTDIR)$(man1dir) - $(INSTALL_DATA) rxvt.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME).$(man1ext) + $(INSTALL) -d $(DESTDIR)$(man7dir) + $(INSTALL_DATA) rxvt.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME).$(man1ext) $(INSTALL_DATA) rxvtc.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)c.$(man1ext) $(INSTALL_DATA) rxvtd.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)d.$(man1ext) - $(INSTALL) -d $(DESTDIR)$(man7dir) - $(INSTALL_DATA) rxvt.7.man $(DESTDIR)$(man7dir)/$(RXVTNAME).$(man7ext) + $(INSTALL_DATA) rxvt.7.man $(DESTDIR)$(man7dir)/$(RXVTNAME).$(man7ext) @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(man3dir) @IF_PERL@ $(INSTALL_DATA) rxvtperl.3.man $(DESTDIR)$(man3dir)/$(RXVTNAME)perl.$(man3ext) - if test -x "@TIC@"; then if test -n "@TIC@"; then @TIC@ $(srcdir)/etc/rxvt-unicode.terminfo; fi; fi + @TIC@ $(srcdir)/etc/rxvt-unicode.terminfo distdepend: alldoc -# ------------------------------------------------------------------------ -# DO NOT DELETE: ugly dependency list follows