summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/texinfo-dummy-native/texinfo-dummy-native.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-29 11:38:07 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-02 16:57:21 +0000
commit9dd3af7f0f24df39c578670abb08146156aa2041 (patch)
treed8eb14ea821c4e0e611a50d6782c5854b6966237 /meta/recipes-extended/texinfo-dummy-native/texinfo-dummy-native.bb
parent9f734a34a3f22d0ca491d3805772c984a4528053 (diff)
downloadpoky-9dd3af7f0f24df39c578670abb08146156aa2041.tar.gz
texinfo-dummy-native: Allow to coexist with texinfo-native
(From OE-Core rev: 0a1099d7d346d540b616f88f30ebaf1571d9eba1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/texinfo-dummy-native/texinfo-dummy-native.bb')
-rw-r--r--meta/recipes-extended/texinfo-dummy-native/texinfo-dummy-native.bb8
1 files changed, 6 insertions, 2 deletions
diff --git a/meta/recipes-extended/texinfo-dummy-native/texinfo-dummy-native.bb b/meta/recipes-extended/texinfo-dummy-native/texinfo-dummy-native.bb
index 1254bc89b4..3732d4fa7b 100644
--- a/meta/recipes-extended/texinfo-dummy-native/texinfo-dummy-native.bb
+++ b/meta/recipes-extended/texinfo-dummy-native/texinfo-dummy-native.bb
@@ -13,15 +13,19 @@ NATIVE_PACKAGE_PATH_SUFFIX = "/${PN}"
13 13
14inherit native 14inherit native
15 15
16#
17# To avoid texinfo-dummy-native and texinfo-native conflicting we install to base_bindir
18# which is later in PATH than bindir where texinfo-native installs
19#
16do_install_name() { 20do_install_name() {
17 FILENAME="${D}${bindir}/$1" 21 FILENAME="${D}${base_bindir}/$1"
18 # Using ln causes problems with rm_work 22 # Using ln causes problems with rm_work
19 cp -T "${S}/template.py" "$FILENAME" 23 cp -T "${S}/template.py" "$FILENAME"
20 chmod +x $FILENAME 24 chmod +x $FILENAME
21} 25}
22 26
23do_install() { 27do_install() {
24 mkdir -p "${D}${bindir}" 28 mkdir -p "${D}${base_bindir}"
25 for i in makeinfo pod2texi texi2dvi pdftexi2dvi texindex texi2pdf \ 29 for i in makeinfo pod2texi texi2dvi pdftexi2dvi texindex texi2pdf \
26 txixml2texi texi2any install-info ginstall-info \ 30 txixml2texi texi2any install-info ginstall-info \
27 update-info-dir; do 31 update-info-dir; do