2 # Automakefile for the library files.
3 # Copyright (c) 1995-1998 Markku Rossi
5 # Author: Markku Rossi <mtr@iki.fi>
9 # This file is part of GNU Enscript.
11 # Enscript is free software: you can redistribute it and/or modify
12 # it under the terms of the GNU General Public License as published by
13 # the Free Software Foundation, either version 3 of the License, or
14 # (at your option) any later version.
16 # Enscript is distributed in the hope that it will be useful,
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 # GNU General Public License for more details.
21 # You should have received a copy of the GNU General Public License
22 # along with Enscript. If not, see <http://www.gnu.org/licenses/>.
25 pkgdata_DATA = ascii.enc asciifise.enc asciidkno.enc hp8.enc ibmpc.enc \
26 koi8.enc 88591.enc 88592.enc 88593.enc 88594.enc 88595.enc 88597.enc \
27 88599.enc 885910.enc mac.enc ps.enc pslatin1.enc vms.enc a2ps.hdr \
28 edd.hdr emacs.hdr enscript.hdr enscript-color.hdr frame.hdr mp.hdr \
29 simple.hdr squeeze.hdr enscript.pro
31 sysconf_DATA = enscript.cfg
32 CLEANFILES = $(sysconf_DATA)
34 EXTRA_DIST = ChangeLog.old enscript.cfg.in $(pkgdata_DATA) \
35 Makefile-encodings make-encoding.pl
37 do_subst = sed -e 's%@DATADIR@%$(datadir)%g' \
38 -e 's%@media@%@MEDIA@%g' \
39 -e 's%@BINDIR@%$(bindir)%g' \
40 -e 's%@spooler@%@SPOOLER@%g' \
41 -e 's%@pslevel@%@PSLEVEL@%g'
43 enscript.cfg: enscript.cfg.in Makefile
44 $(do_subst) < $(srcdir)/enscript.cfg.in > enscript.cfg