From ce249b627baa0c0b2415e9df3477cfa1728da343 Mon Sep 17 00:00:00 2001 From: Florian Friesdorf Date: Tue, 12 Apr 2011 15:09:30 +0000 Subject: [PATCH] org: include more pdf doc, yet failing html-doc and contrib/ contrib is added as profile/share/org/contrib, better ideas welcome. profile/share/doc/org-7.5/contrib could be an option but then one needs to adjust personal emacs config to point to the new contrib/lisp dir with each upgrade. svn path=/nixpkgs/trunk/; revision=26805 --- .../applications/editors/emacs-modes/org/default.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/editors/emacs-modes/org/default.nix b/pkgs/applications/editors/emacs-modes/org/default.nix index c1e63fcf4ab..18ea2797bec 100644 --- a/pkgs/applications/editors/emacs-modes/org/default.nix +++ b/pkgs/applications/editors/emacs-modes/org/default.nix @@ -19,11 +19,21 @@ stdenv.mkDerivation rec { -e "s|^prefix=.*$|prefix=$out|g" ''; + #XXX: fails because of missing UTILITIES/manfull.pl, currently not + # included in the release tarball, but git. + + #postBuild = + # '' make doc + # ''; + installPhase = '' make install install-info ensureDir "$out/share/doc/${name}" - cp -v doc/orgcard*.{pdf,txt} "$out/share/doc/${name}" + cp -v doc/org*.{html,pdf,txt} "$out/share/doc/${name}" + + ensureDir "$out/share/org" + cp -R contrib "$out/share/org/contrib" ''; meta = {