aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Makefile.am')
-rw-r--r--lib/Makefile.am19
1 files changed, 5 insertions, 14 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index ae57c47..e6f9053 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -1,20 +1,11 @@
-include $(top_srcdir)/bootstrap.am
-
dist_scitecolib_DATA = color.tes lexer.tes session.tes opener.tes \
fnkeys.tes string.tes getopt.tes
-# standalone scripts
-dist_scitecolib_SCRIPTS = repl.tes tecat.tes
-
-# Fix up the hash-bang line of installed SciTECO scripts upon
-# installation to refer to the installed sciteco binary.
-# This takes --program-prefix into account.
-#
-# FIXME: This will patch the hash-bang line repeatedly.
-install-data-hook:
- $(SCITECO_FULL) -e "<%i^[ :Q[^A^E\\i]:; @EB'$(DESTDIR)$(scitecolibdir)/^EN[^A^E\\i]'> 1U* \
- EJ-1<%*^[ 0,^Q::@FR'#!^EM^Xsciteco'#!$(SCITECO_INSTALLED)'> \
- :EX" $(dist_scitecolib_SCRIPTS)
+# Standalone scripts.
+# These are not installed via _SCRIPTS as it would add the --program-prefix.
+# Since they won't get the executable flag, it makes no sense to fix up their
+# hash-bang lines as well.
+dist_scitecolib_DATA += repl.tes tecat.tes
# Helper script for creating lexer definitions
EXTRA_DIST = scite2co.lua