1 # Copyright (C) 1989, 1990, 1991, 1992 Free Software Foundation, Inc.
2 # Written by James Clark (jjc@jclark.com)
4 # This file is part of groff.
6 # groff is free software; you can redistribute it and/or modify it under
7 # the terms of the GNU General Public License as published by the Free
8 # Software Foundation; either version 2, or (at your option) any later
11 # groff is distributed in the hope that it will be useful, but WITHOUT ANY
12 # WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 # You should have received a copy of the GNU General Public License along
17 # with groff; see the file COPYING. If not, write to the Free Software
18 # Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21 TROFF
=..
/src
/roff
/troff
/troff
-M..
/tmac
$(FFLAG
)
22 GROFF
=..
/src
/roff
/groff
/groff
-p
-e
-t
23 GROPS
=..
/src
/devices
/grops
/grops
$(FFLAG
)
24 DOCS
=meref.ps meintro.ps pic.ps pic.html homepage.html
25 MEMACROS
=..
/tmac
/tmac.e
26 SOELIM
=..
/src
/preproc
/soelim
/soelim
28 version
=`cat ../VERSION`
29 # No additional number for the groff archive if revision is zero
30 revision
=`sed -e 's/^0$$//' -e 's/^[1-9].*$$/.&/' ../REVISION`
34 .SUFFIXES
: .tr .me .ms .ps .dit .html .ascii .texinfo .
dvi
41 | sed
-e
"s;@VERSION@;$(version)$(revision);" \
42 |
$(TROFF
) -Tps
$(FFLAG
) -me
>$@
48 GROFF_TMAC_PATH
=..
/tmac
; \
49 export GROFF_TMAC_PATH
; \
50 sed
-e
"s;@VERSION@;$(version)$(revision);" $< \
51 |
$(GROFF
) -Thtml
$(FFLAG
) -U
-ms
>$@
54 GROFF_TMAC_PATH
=..
/tmac
; \
55 export GROFF_TMAC_PATH
; \
56 sed
-e
"s;@VERSION@;$(version)$(revision);" $< \
57 |
$(GROFF
) -Tascii
$(FFLAG
) -U
-ms
-markup
>$@
60 GROFF_TMAC_PATH
=..
/tmac
; \
61 export GROFF_TMAC_PATH
; \
62 sed
-e
"s;@VERSION@;$(version)$(revision);" $< \
63 |
$(GROFF
) -Tps
$(FFLAG
) -U
-ms
-markup
>$@
69 makeinfo groff.texinfo
74 -rm -f
*.ps
*.html
*.ascii
*.png
*.gif
*.dit core
75 -rm -f
*.aux
*.
dvi *.log
*.toc texput.log
76 -rm -f
*.cp
*.cps
*.cv
*.cn
*.fn
*.fns
*.gl
*.gls
*.ky
*.kys \
77 *.ma
*.mas
*.op
*.ops
*.pg
*.pgs
*.tp
*.tps
*.tr
*.vr
*.vrs
84 -rm -f core
*~ \
#* junk temp grot