3
0
Fork 0
forked from mirrors/nixpkgs

docbook-xsl-ns: Cleanup

This commit is contained in:
Eelco Dolstra 2014-11-25 16:18:53 +01:00
parent e611215f5c
commit 880616c353

View file

@ -1,4 +1,4 @@
{stdenv, fetchurl}:
{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "docbook-xsl-ns-1.78.1";
@ -12,13 +12,20 @@ stdenv.mkDerivation rec {
installPhase =
''
dst=$out/share/xml/docbook-xsl-ns
mkdir -p $dst
rm -rf RELEASE* README* INSTALL TODO NEWS* BUGS install.sh svn* tools log Makefile tests extensions webhelp
mv * $dst/
# Backwards compatibility. Will remove eventually.
mkdir -p $out/xml/xsl
cd ..
mv docbook-xsl-ns-* $out/xml/xsl/docbook
ln -s $dst $out/xml/xsl/docbook
'';
meta = {
homepage = http://wiki.docbook.org/topic/DocBookXslStylesheets;
description = "XSL stylesheets for transforming DocBook documents into HTML and various other formats";
maintainers = [ lib.maintainers.eelco ];
platforms = lib.platforms.all;
};
}