From 65569ca936dec1dde6db4581e246ec1cf5858c3e Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Mon, 2 Mar 2015 22:15:40 +0100 Subject: 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...) --- lib/Makefile.am | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3