nixpkgs/pkgs/data/sgml+xml/schemas/docbook-5.0/builder.sh
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00

18 lines
288 B
Bash

source $stdenv/setup
unpackFile $src
cd docbook-*
mkdir -p $out/xml/rng
cp -prv rng $out/xml/rng/docbook
mkdir -p $out/xml/dtd
cp -prv dtd $out/xml/dtd/docbook
mkdir -p $out/share/doc
cp -prv docs $out/share/doc/docbook
mkdir -p $out/share/docbook
cp -prv tools $out/share/docbook/