Handle other common C++ header file extensions.
[enscript.git] / lib / Makefile.am
1 #
2 # Automakefile for the library files.
3 # Copyright (c) 1995-1998 Markku Rossi
4 #
5 # Author: Markku Rossi <mtr@iki.fi>
6 #
7
8 #
9 # This file is part of GNU Enscript.
10 #
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.
15 #
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.
20 #
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/>.
23 #
24
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
30
31 sysconf_DATA = enscript.cfg
32 CLEANFILES = $(sysconf_DATA)
33
34 EXTRA_DIST = enscript.cfg.in $(pkgdata_DATA) Makefile-encodings \
35 make-encoding.pl
36
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'
42
43 enscript.cfg: enscript.cfg.in Makefile
44         $(do_subst) < $(srcdir)/enscript.cfg.in > enscript.cfg
45