diff options
author | ru <ru@FreeBSD.org> | 2005-10-20 10:45:19 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2005-10-20 10:45:19 +0000 |
commit | 353ac0b339df3493d1950b6527988b77b76bd197 (patch) | |
tree | 8a188846a3f5bd2f2b8cb869cba64e3c470a2b26 /contrib/groff/doc/Makefile.in | |
parent | c40093b1f1b43dc237b9d272697cdd0842ec64ec (diff) | |
download | FreeBSD-src-353ac0b339df3493d1950b6527988b77b76bd197.zip FreeBSD-src-353ac0b339df3493d1950b6527988b77b76bd197.tar.gz |
Virgin import of FSF groff v1.19.2
Diffstat (limited to 'contrib/groff/doc/Makefile.in')
-rw-r--r-- | contrib/groff/doc/Makefile.in | 34 |
1 files changed, 22 insertions, 12 deletions
diff --git a/contrib/groff/doc/Makefile.in b/contrib/groff/doc/Makefile.in index 313889d..05fb5bc 100644 --- a/contrib/groff/doc/Makefile.in +++ b/contrib/groff/doc/Makefile.in @@ -1,4 +1,4 @@ -# Copyright (C) 2002, 2003 Free Software Foundation, Inc. +# Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. # Written by Werner Lemberg <wl@gnu.org> # # This file is part of groff. @@ -15,7 +15,7 @@ # # You should have received a copy of the GNU General Public License along # with groff; see the file COPYING. If not, write to the Free Software -# Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, 51 Franklin St - Fifth Floor, Boston, MA 02110-1301, USA. # Use this file to produce documentation in various formats; e.g. you can @@ -29,9 +29,9 @@ srcdir=@srcdir@ -top_srcdir=@top_srcdir@ +top_srcdir=@abs_top_srcdir@ VPATH=@srcdir@ -top_builddir=@groff_top_builddir@ +top_builddir=@abs_top_builddir@ pnmtops=@pnmtops_nosetpage@ # These may be overridden if cross-compiling. @@ -39,8 +39,9 @@ TROFFBIN=$(top_builddir)/src/roff/troff/troff GROFFBIN=$(top_builddir)/src/roff/groff/groff GROFF_BIN_PATH=`echo $(groff_bin_dirs) | sed -e 's| *|:|g'` -# Since info files are distributed within the groff package, no -# autoconf test for the makeinfo binary is done. +# info files are distributed with the groff package, so makeinfo is +# usually not needed (however, to build from CVS you NEED it!) +# FIXME: Add autoconf test to check whether makeinfo exists. MAKEINFO=makeinfo # Users who want to print out the groff manual are expected to have @@ -82,6 +83,7 @@ GROFF=GROFF_COMMAND_PREFIX=''; \ imagedir=img .SUFFIXES: .me .ms .ps .html .txt .texinfo .dvi .pdf +.PHONY: all prepare_examples clean distclean realclean extraclean # For simplicity, we always call grn and eqn. .me.txt: @@ -102,30 +104,37 @@ imagedir=img .texinfo.pdf: $(TEXI2DVI) -e --pdf $< .texinfo.html: - $(MAKEINFO) -I$(srcdir) --html --no-split $< + $(MAKEINFO) --enable-encoding -I$(srcdir) --html --no-split $< \ + && $(SHELL) $(srcdir)/fixinfo.sh $@ all: prepare_examples -prepare_examples: grnexmpl.g +prepare_examples: grnexmpl.g groff.css test -f grnexmpl.g || cp $(srcdir)/grnexmpl.g . + test -f groff.css || cp $(srcdir)/groff.css . groff: groff.texinfo - $(MAKEINFO) -I$(srcdir) $(srcdir)/groff.texinfo + $(MAKEINFO) --enable-encoding -I$(srcdir) $(srcdir)/groff.texinfo gnu.eps: gnu.xpm xpmtoppm $(srcdir)/gnu.xpm | pnmdepth 15 | $(pnmtops) -noturn >$@ gnu.png: gnu.xpm xpmtoppm $(srcdir)/gnu.xpm | pnmdepth 15 | pnmtopng >$@ -webpage.html: webpage.ms gnu.png gnu.eps +pic.html: pic.ms + $(GROFF) -P-p -P-b -P-I`basename $< | sed -e 's|.ms$$||'` \ + -P-D$(imagedir) -P-j`basename $< | sed -e 's|.ms$$||'` \ + -Thtml -ms >$@ + +webpage.html: webpage.ms gnu.png gnu.eps groff.css webpage.ps: gnu.eps grnexmpl.ps: grnexmpl.me grnexmpl.g clean: - -rm -f *.ps *.html *.txt *.png *.eps *.gif *.dit core + -rm -f *.ps *.html *.txt core -rm -f *.aux *.dvi *.pdf *.log *.toc texput.log -rm -f *.cp *.cps *.cv *.cn *.es *.ess *.fn *.fns *.ky *.kys \ *.ma *.mas *.op *.ops *.pg *.pgs *.rq *.rqs *.st *.sts \ @@ -135,6 +144,7 @@ clean: distclean: clean realclean: distclean + -rm -f *.png *.eps -extraclean: clean +extraclean: distclean -rm -f core *~ \#* junk temp grot |