summaryrefslogtreecommitdiffhomepage
path: root/files/texinfo_host/bin
diff options
context:
space:
mode:
Diffstat (limited to 'files/texinfo_host/bin')
-rwxr-xr-xfiles/texinfo_host/bin/makeinfo5
1 files changed, 5 insertions, 0 deletions
diff --git a/files/texinfo_host/bin/makeinfo b/files/texinfo_host/bin/makeinfo
new file mode 100755
index 00000000..8204ac43
--- /dev/null
+++ b/files/texinfo_host/bin/makeinfo
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+PREFIX=""; [ ${PREFIX:="${0%/*}"} = "${0}" ] && PREFIX="."; PREFIX="${PREFIX:+${PREFIX}/}..";
+export PERL5LIB="${PREFIX}/share/texinfo:${PREFIX}/share/texinfo/lib/libintl-perl/lib:${PREFIX}/share/texinfo/lib/Text-Unidecode/lib:${PREFIX}/share/texinfo/lib/Unicode-EastAsianWidth/lib";
+"${PREFIX}/bin/makeinfo.dist" "${@}";