diff options
author | Colin Morey <peitolm@gentoo.org> | 2002-06-22 03:19:24 +0000 |
---|---|---|
committer | Colin Morey <peitolm@gentoo.org> | 2002-06-22 03:19:24 +0000 |
commit | f4f67c8971be27e907a1ef01ffa2bd527481e4c2 (patch) | |
tree | 0f6eb2a467732b6e9fb3e3f0afb1c63807c21b0a /app-doc | |
parent | changed dependencies on pygtk so it doesn't break on gnome2 / gtk2 bindings (diff) | |
download | gentoo-2-f4f67c8971be27e907a1ef01ffa2bd527481e4c2.tar.gz gentoo-2-f4f67c8971be27e907a1ef01ffa2bd527481e4c2.tar.bz2 gentoo-2-f4f67c8971be27e907a1ef01ffa2bd527481e4c2.zip |
fixed, it will now build the full /packages tree
Diffstat (limited to 'app-doc')
-rw-r--r-- | app-doc/gentoo-web/gentoo-web-2.3.ebuild | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/app-doc/gentoo-web/gentoo-web-2.3.ebuild b/app-doc/gentoo-web/gentoo-web-2.3.ebuild index 784a3f73f415..e11b056f2257 100644 --- a/app-doc/gentoo-web/gentoo-web-2.3.ebuild +++ b/app-doc/gentoo-web/gentoo-web-2.3.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2001 Gentoo Technologies, Inc. Distributed under the terms # of the GNU General Public License, v2 or later # Author: Daniel Robbins <drobbins@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/app-doc/gentoo-web/gentoo-web-2.3.ebuild,v 1.2 2002/06/22 00:10:46 peitolm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-doc/gentoo-web/gentoo-web-2.3.ebuild,v 1.3 2002/06/22 03:19:24 peitolm Exp $ S=${WORKDIR}/gentoo-src/gentoo-web @@ -142,13 +142,20 @@ src_install() { xsltproc $TEMPLATE xml/main-contract.xml > ${D}${WEBROOT}/index-contract.html || die xsltproc $TEMPLATE xml/main-graphics.xml > ${D}${WEBROOT}/index-graphics.html || die OLDROOT=${ROOT} ; unset ROOT - mkdir xml/packages + + mkdir -p xml/packages + dodir ${WEBROOT}/packages/ + insinto ${WEBROOT}/packages/ python python/genpkgxml-v2.py ${T}/main-packages.xml || die - for dir in `ls -1 xml/packages/` + for DIR in `ls xml/packages` do - for file in `ls xml/packages/$dir/| sed 's/.xml//g'` - do mkdir -p ${D}${WEBROOT}/packages/$dir/ - xsltproc $TEMPLATE xml/packages/$dir/$file.xml >${D}${WEBROOT}/packages/$dir/$file.html + echo "Making dir: (${DIR}) ${D}/${WEBROOT}/${DIR}/" + dodir ${WEBROOT}/packages/${DIR} + for FILE in `ls xml/packages/${DIR} | sed 's/.xml//'` + do + echo ${FILE} + echo "xsltproc $TEMPLATE xml/packages/${DIR}/${FILE}.xml > ${D}/${WEBROOT}/packages/${DIR}/${FILE}.html" + xsltproc $TEMPLATE xml/packages/${DIR}/${FILE}.xml > ${D}/${WEBROOT}/packages/${DIR}/${FILE}.html done done |