aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/Makefile.am
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2015-03-02 22:15:40 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2015-03-02 22:15:40 +0100
commit65569ca936dec1dde6db4581e246ec1cf5858c3e (patch)
tree97406ca8afd9d0ec19be40ab299edb252c14bc33 /lib/Makefile.am
parent2cfc3584008420d9a9b8c6e5e54d26f0d5fcb57e (diff)
downloadsciteco-65569ca936dec1dde6db4581e246ec1cf5858c3e.tar.gz
used file lists instead of wildcards in lib/Makefile.am
* this is recommended by Automake since wildcards are not portable. However we rely on GNU Make extensions in other places. * This fixes out-of-source builds. * The lists can be updated relatively easily with SciTECO (EN command...)
Diffstat (limited to 'lib/Makefile.am')
-rw-r--r--lib/Makefile.am17
1 files changed, 13 insertions, 4 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index e522dba..c590484 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -2,9 +2,18 @@
dist_scitecolib_DATA = color.tes lexer.tes session.tes fnkeys.tes
dist_scitecolib_DATA += string.tes
-# Install and distribute entire directories
-# It would be annoying to list all the files
+# This list must be extended when adding
+# a new color scheme:
colorschemedir = $(scitecolibdir)/colors
-dist_colorscheme_DATA = colors/*.tes
+dist_colorscheme_DATA = colors/terminal.tes
+
+# This list must be extended when adding
+# a new lexer configuration:
lexerdir = $(scitecolibdir)/lexers
-dist_lexer_DATA = lexers/*.tes
+dist_lexer_DATA = lexers/patch.tes \
+ lexers/sh.tes \
+ lexers/cpp.tes \
+ lexers/cmake.tes \
+ lexers/batch.tes \
+ lexers/xml.tes \
+ lexers/make.tes