aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/docbook-sgml-dtd
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-10-01 15:18:45 +0200
committerKoen Kooi <koen@openembedded.org>2010-10-01 15:21:13 +0200
commit938bae0b28f0988fb916e2c932bb77398e4f7610 (patch)
tree7427fd915b23a8e34608bc4ec885f9876508e05e /recipes/docbook-sgml-dtd
parent94b8c9ca85bb89136a6cbcff3cc4c1d4a2873366 (diff)
downloadopenembedded-938bae0b28f0988fb916e2c932bb77398e4f7610.tar.gz
openembedded-938bae0b28f0988fb916e2c932bb77398e4f7610.tar.bz2
openembedded-938bae0b28f0988fb916e2c932bb77398e4f7610.zip
docbook-sgml-dtd-native.inc: attempt to fix build error caused by missing sgml-docbook.cat
Diffstat (limited to 'recipes/docbook-sgml-dtd')
-rw-r--r--recipes/docbook-sgml-dtd/docbook-sgml-dtd-native.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/recipes/docbook-sgml-dtd/docbook-sgml-dtd-native.inc b/recipes/docbook-sgml-dtd/docbook-sgml-dtd-native.inc
index 15afd00860..d2330944c3 100644
--- a/recipes/docbook-sgml-dtd/docbook-sgml-dtd-native.inc
+++ b/recipes/docbook-sgml-dtd/docbook-sgml-dtd-native.inc
@@ -12,7 +12,7 @@ SRC_URI = "http://www.docbook.org/sgml/${DTD_VERSION}/docbook-${DTD_VERSION}.zip
S = "${WORKDIR}"
-INC_PR = "r1"
+INC_PR = "r2"
SYSROOT_PREPROCESS_FUNCS += "docbook_sgml_dtd_native_mangle"
@@ -32,13 +32,13 @@ do_install () {
# Moving them to image directory so that they get included in the .ipk file
# generated by new style staging.
install -d ${D}${sysconfdir}/sgml
- cp ${sysconfdir}/sgml/sgml-docbook-dtd-${DTD_VERSION}.cat ${D}${sysconfdir}/sgml/sgml-docbook-dtd-${DTD_VERSION}.cat
+ cp ${sysconfdir}/sgml/*.cat ${D}${sysconfdir}/sgml/
cp ${sysconfdir}/sgml/catalog ${D}${sysconfdir}/sgml/
}
PACKAGES = ""
docbook_sgml_dtd_native_mangle () {
- # Removing the image directory path (${D}) from the .cat file.
- sed -i -e "s|${D}||g" ${SYSROOT_DESTDIR}${sysconfdir}/sgml/sgml-docbook-dtd-${DTD_VERSION}.cat
+ # Removing the image directory path (${D}) from the .cat files.
+ sed -i -e "s|${D}||g" ${SYSROOT_DESTDIR}${sysconfdir}/sgml/*.cat
}
NATIVE_INSTALL_WORKS = "1"