diff options
Diffstat (limited to 'doc/Makefile')
-rwxr-xr-x | doc/Makefile | 120 |
1 files changed, 0 insertions, 120 deletions
diff --git a/doc/Makefile b/doc/Makefile deleted file mode 100755 index 7f3ae138..00000000 --- a/doc/Makefile +++ /dev/null @@ -1,120 +0,0 @@ -# Copyright (C) 1989, 1990, 1991, 1992, 2001, 2002 -# Free Software Foundation, Inc. -# Written by James Clark (jjc@jclark.com) -# -# This file is part of groff. -# -# groff is free software; you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the Free -# Software Foundation; either version 2, or (at your option) any later -# version. -# -# groff is distributed in the hope that it will be useful, but WITHOUT ANY -# WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# 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. - -FFLAG=-F../font -TFLAG=-M../tmac -TROFF=../src/roff/troff/troff $(TFLAG) $(FFLAG) -ww -GROFF=../src/roff/groff/groff $(TFLAG) $(FFLAG) -U -p -e -t -ww -GROPS=../src/devices/grops/grops $(FFLAG) -DOCS=meref.ps meintro.ps pic.ps pic.html homepage.ps homepage.html -SOELIM=../src/preproc/soelim/soelim - -groff_bin_dirs=\ - ../src/roff/groff \ - ../src/roff/troff \ - ../src/preproc/pic \ - ../src/preproc/eqn \ - ../src/preproc/tbl \ - ../src/preproc/grn \ - ../src/preproc/refer \ - ../src/preproc/soelim \ - ../src/preproc/html \ - ../src/devices/grops \ - ../src/devices/grodvi \ - ../src/devices/grotty \ - ../src/devices/grolj4 \ - ../src/devices/grolbp \ - ../src/devices/grohtml -groff_bin_path=`echo $(groff_bin_dirs) | sed -e 's| \+|:|g'` - -version=`cat ../VERSION` -# No additional number if revision is zero -revision=`sed -e 's/^0$$//' -e 's/^[1-9].*$$/.&/' ../REVISION` - -all: $(DOCS) - -.SUFFIXES: .tr .me .ms .ps .dit .html .ascii .texinfo .dvi .pdf - -.dit.ps: - $(GROPS) $< >$@ - -.me.dit: - $(SOELIM) $< \ - | sed -e "s;@VERSION@;$(version)$(revision);" \ - | $(TROFF) -Tps -me >$@ -.tr.dit: - $(TROFF) -Tps $< >$@ - -.ms.html: - GROFF_BIN_PATH=$(groff_bin_path); \ - export GROFF_BIN_PATH; \ - sed -e "s;@VERSION@;$(version)$(revision);" $< \ - | $(GROFF) -P-b -P-I`echo $< | sed -e 's|.ms$$||'` \ - -P-Dimg -Thtml -ms >$@ -.ms.ascii: - GROFF_BIN_PATH=$(groff_bin_path); \ - export GROFF_BIN_PATH; \ - sed -e "s;@VERSION@;$(version)$(revision);" $< \ - | $(GROFF) -Tascii -ms -mwww >$@ -.ms.ps: - GROFF_BIN_PATH=$(groff_bin_path); \ - export GROFF_BIN_PATH; \ - sed -e "s;@VERSION@;$(version)$(revision);" $< \ - | $(GROFF) -Tps -ms -mwww >$@ - -.texinfo.dvi: - texi2dvi -e $< -.texinfo.pdf: - texi2dvi -e --pdf $< -.texinfo.html: - makeinfo --html --no-split $< - -groff: groff.texinfo - makeinfo groff.texinfo - -gnu.eps: gnu.xpm - xpmtoppm gnu.xpm | pnmdepth 15 | pnmtops -noturn > gnu.eps -gnu.png: gnu.xpm - xpmtoppm gnu.xpm | pnmdepth 15 | pnmtopng > gnu.png - -homepage.html: homepage.ms gnu.eps - GROFF_BIN_PATH=$(groff_bin_path); \ - export GROFF_BIN_PATH; \ - sed -e "s;@VERSION@;$(version)$(revision);" $< \ - | $(GROFF) -P-Ihome -P-r -P-b -P-Dimg -Thtml -ms >$@ - -homepage.ps: gnu.eps - -install: - -clean: - -rm -f *.ps *.html *.ascii *.png *.eps *.gif *.dit 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 \ - *.tp *.tps *.tr *.vr *.vrs - -rm -rf img - -distclean: clean - -realclean: distclean - -extraclean: clean - -rm -f core *~ \#* junk temp grot |