From 7dd6ac742880bd0b2eca2c31f2e7dc19598e2d94 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Fri, 8 Aug 2025 13:39:12 +0300 Subject: don't install the standalone scripts from lib/ as actual scripts: should fix CI and nightlies * They would get the --program-prefix. * If they aren't installed as real scripts, there is no point in fixing up their hash-bang lines. * The hash-bang line fix won't work on Windows anyway, so they are now disabled for grosciteco and tedoc as well. --- doc/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') diff --git a/doc/Makefile.am b/doc/Makefile.am index f6e4dc1..428d0ce 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -30,12 +30,16 @@ dist_scitecodata_DATA = sciteco.tmac # 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. +# This wouldn't work on Windows since SciTECO cannot open +# the /mingw64 paths. # # FIXME: This will patch the hash-bang line repeatedly. +if !WIN32 install-exec-hook: $(SCITECO_FULL) -e "@EB'$(DESTDIR)$(bindir)/*.tes' 1U* \ EJ-1<%*^[ 0,^Q::@FR'#!^EM^Xsciteco'#!$(SCITECO_INSTALLED)'> \ :EX" +endif womendir = $(scitecolibdir)/women -- cgit v1.2.3