c9534d08eb91f463a5aa6670516552860108e646
[enscript.git] / states / hl / Makefile.am
1 #
2 # Automakefile for the highlighting rules.
3 # Copyright (c) 1998-2003 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 # the Free Software Foundation, 51 Franklin Street, Fifth Floor,
23 # Boston, MA 02110-1301, USA.
24 #
25
26 misc = enscript.st describe_languages.st default_faces.st
27
28 styles = style_emacs.st style_emacs_verbose.st style_ifh.st     \
29 style_a2ps.st style_msvc.st
30
31 languages = lang_ansi.st lang_enscript.st lang_html.st  \
32 lang_overstrike.st lang_rtf.st lang_texinfo.st
33
34 highlightings = ada.st asm.st awk.st bash.st c.st c_comment.st          \
35 c_ppline.st c_string.st changelog.st cpp.st csh.st delphi.st diff.st    \
36 diffs.st diffu.st elisp.st fortran.st fortran_pp.st haskell.st html.st  \
37 idl.st inf.st java.st javascript.st ksh.st m4.st mail.st makefile.st    \
38 matlab.st nroff.st objc.st outline.st pascal.st passthrough.st perl.st  \
39 postscript.st python.st pyrex.st rfc.st scheme.st sh.st skill.st        \
40 sql.st states.st synopsys.st tcl.st tcsh.st tex.st vba.st verilog.st    \
41 vhdl.st vrml.st wmlscript.st zsh.st
42
43 states = $(misc) $(styles) $(languages) $(highlightings)
44
45 EXTRA_DIST = $(states)
46
47 install-data-local:
48         $(top_srcdir)/mkinstalldirs $(datadir)/enscript
49         $(top_srcdir)/mkinstalldirs $(datadir)/enscript/hl
50         for f in $(states); do \
51           $(INSTALL_DATA) $(srcdir)/$$f $(datadir)/enscript/hl/$$f; \
52         done
53
54 uninstall-local:
55         rm -rf $(datadir)/enscript/hl