forked from mirrors/nixpkgs
docbook-xsl-ns: Cleanup
This commit is contained in:
parent
e611215f5c
commit
880616c353
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue