exit 1
fi
-dir="${D}usr/share/doc/${PF}/${DOCDESTTREE}"
+dir="${D}usr/share/doc/${PF}/${_E_DOCDESTTREE_}"
if [ ! -d "${dir}" ] ; then
install -d "${dir}"
fi
self.PF = os.environ["PF"]
if os.environ.has_key("D"):
self.D = os.environ["D"]
- if os.environ.has_key("DOCDESTTREE"):
- self.DOCDESTTREE = os.environ["DOCDESTTREE"]
+ if os.environ.has_key("_E_DOCDESTTREE_"):
+ self.DOCDESTTREE = os.environ["_E_DOCDESTTREE_"]
self.allowed_exts = [ 'png', 'gif', 'html', 'htm', 'jpg', 'css', 'js' ]
self.allowed_files = []
export DESTTREE=/usr
export INSDESTTREE=""
export EXEDESTTREE=""
-export DOCDESTTREE=""
+export _E_DOCDESTTREE_=""
export INSOPTIONS="-m0644"
export EXEOPTIONS="-m0755"
export LIBOPTIONS="-m0644"
docinto() {
if [ "$1" == "/" ]; then
- export DOCDESTTREE=""
+ export _E_DOCDESTTREE_=""
+ eqawarn "QA Notice: invalid usage of docinto"
else
- export DOCDESTTREE="$1"
- if [ ! -d "${D}usr/share/doc/${PF}/${DOCDESTTREE}" ]; then
- install -d "${D}usr/share/doc/${PF}/${DOCDESTTREE}"
+ export _E_DOCDESTTREE_="$1"
+ if [ ! -d "${D}usr/share/doc/${PF}/${_E_DOCDESTTREE_}" ]; then
+ install -d "${D}usr/share/doc/${PF}/${_E_DOCDESTTREE_}"
fi
fi
}