source: trunk/third/enscript/lib/Makefile.am @ 17620

Revision 17620, 1.8 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r17619, which included commits to RCS files with non-trunk default branches.
Line 
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# This program 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 2, or (at your option)
14# any later version.
15#
16# This program 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 this program; see the file COPYING.  If not, write to
23# the Free Software Foundation, 59 Temple Place - Suite 330,
24# Boston, MA 02111-1307, USA.
25#
26
27pkgdata_DATA = ascii.enc asciifise.enc asciidkno.enc hp8.enc ibmpc.enc \
28koi8.enc 88591.enc 88592.enc 88593.enc 88594.enc 88595.enc 88597.enc \
29mac.enc ps.enc pslatin1.enc vms.enc a2ps.hdr edd.hdr emacs.hdr \
30enscript.hdr frame.hdr mp.hdr simple.hdr enscript.pro
31
32EXTRA_DIST = enscript.cfg.in $(pkgdata_DATA) Makefile-encodings \
33make-encoding.pl
34
35CLEANFILES = enscript.cfg
36
37all-local: enscript.cfg
38
39install-data-local: enscript.cfg
40        $(top_srcdir)/mkinstalldirs $(sysconfdir)
41        if test -r $(sysconfdir)/enscript.cfg; then \
42          cp $(sysconfdir)/enscript.cfg $(sysconfdir)/enscript.cfg.old; \
43        else :; \
44        fi
45        $(INSTALL_DATA) enscript.cfg $(sysconfdir)/enscript.cfg
46
47uninstall-local:
48        rm -f $(sysconfdir)/enscript.cfg
49
50enscript.cfg: $(srcdir)/enscript.cfg.in Makefile
51        sed 's%@DATADIR@%$(datadir)%g; s%@media@%@MEDIA@%g; s%@BINDIR@%$(bindir)%g; s%@spooler@%@SPOOLER@%g; s%@pslevel@%@PSLEVEL@%g' \
52        $(srcdir)/enscript.cfg.in >enscript.cfg
Note: See TracBrowser for help on using the repository browser.