1 rizwank 1.1 #
2 # Automakefile for the enscript documentation.
3 # Copyright (c) 1998-1999 Markku Rossi
4 #
5 # Author: Markku Rossi <mtr@iki.fi>
6 #
7
8 #
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 2, or (at your option)
12 # any later version.
13 #
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
18 #
19 # You should have received a copy of the GNU General Public License
20 #
21 # along with this program; see the file COPYING. If not, write to
22 rizwank 1.1 # the Free Software Foundation, 59 Temple Place - Suite 330,
23 # Boston, MA 02111-1307, USA.
24 #
25
26 info_TEXINFOS = enscript.texi
27
28 man_MANS = enscript.1 states.1
29
30 EXTRA_DIST = enscript.man states.man FAQ.html clean-nroff.pl texinfo.tex
31
32 enscript.man.html: enscript.1
33 nroff -man $(srcdir)/enscript.1 | ./clean-nroff.pl > enscript.tmp
34 enscript -E --color -q -Whtml -penscript.man.html enscript.tmp
35 rm -f enscript.tmp
36
37 SUFFIXES = .1 .man
38
39 .man.1:
40 sed 's%@DATADIR@%$(datadir)%g; s%@media@%@MEDIA@%g; s%@SYSCONFDIR@%$(sysconfdir)%g' \
41 $< > $@
|