|
From: Hans-Bernhard B. <HBB...@t-...> - 2009-11-30 22:42:25
|
Ethan Merritt wrote: > Yes, this is a problem with autotools. Actually, it's more a problem with how we use them. > Because the file is installed in $libexecdir, the autotools think it is an executable > and therefore they add the extension $(EXEEXT). No. It thinks so because we told it so, by listing gnuplot-tikz.lua in gnuplotlibexec_PROGRAMS. It's the _PROGRAMS part that makes this a presumed binary executable, and causes $(EXEEXT) to be added to its name. To me it looks like the lua section in src/Makefile.am should just be pkglibexec_SCRIPTS = if BUILD_LUA pkglibexec_SCRIPTS += gnuplot-tikz.lua endif (or possibly that should be dist_pkglibexec_SCRIPTS) For the details see "info automake other scripts". Strictly speaking scripts shouldn't go to $libexecdir, nor a subdirectory of it, like our $pkglibexecdir. They belong in the platform-independent directories, e.g. $pkgdatadir. That way, even if you install to a $prefix shared by multiple binary architectures, you would still only copy of them. |