summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/docbook-utils/docbook-utils-native_0.6.14.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-devtools/docbook-utils/docbook-utils-native_0.6.14.bb b/meta/recipes-devtools/docbook-utils/docbook-utils-native_0.6.14.bb
index 2a894796ae..5e1384d588 100644
--- a/meta/recipes-devtools/docbook-utils/docbook-utils-native_0.6.14.bb
+++ b/meta/recipes-devtools/docbook-utils/docbook-utils-native_0.6.14.bb
@@ -21,16 +21,17 @@ inherit autotools native
21 21
22do_configure_prepend() { 22do_configure_prepend() {
23 # Fix hard-coded references to /etc/sgml 23 # Fix hard-coded references to /etc/sgml
24 if [ ! -e ${WORKDIR}/.sed_done ]; then 24 if [ ! -e ${S}/.sed_done ]; then
25 sed -i -e "s|/etc/sgml|${sysconfdir}/sgml|g" bin/jw.in 25 sed -i -e "s|/etc/sgml|${sysconfdir}/sgml|g" bin/jw.in
26 sed -i -e "s|/etc/sgml|${sysconfdir}/sgml|g" doc/man/Makefile.am 26 sed -i -e "s|/etc/sgml|${sysconfdir}/sgml|g" doc/man/Makefile.am
27 sed -i -e "s|/etc/sgml|${sysconfdir}/sgml|g" doc/HTML/Makefile.am 27 sed -i -e "s|/etc/sgml|${sysconfdir}/sgml|g" doc/HTML/Makefile.am
28 28
29 # Point jw to the native sysroot catalog 29 # Point jw to the native sysroot catalog
30 sed -i -e 's|^SGML_EXTRA_CATALOGS=""|SGML_EXTRA_CATALOGS=":${sysconfdir}/sgml/catalog"|g' bin/jw.in 30 sed -i -e 's|^SGML_EXTRA_CATALOGS=""|SGML_EXTRA_CATALOGS=":${sysconfdir}/sgml/catalog"|g' bin/jw.in
31 touch ${WORKDIR}/.sed_done 31 touch ${S}/.sed_done
32 fi 32 fi
33} 33}
34do_unpack[cleandirs] += "${S}"
34 35
35do_install() { 36do_install() {
36 install -d ${D}${bindir} 37 install -d ${D}${bindir}