From 17f4d01ce2b7bb4b41e565ac43463425e79b6c30 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 3 Sep 2015 11:41:36 +0200 Subject: [PATCH 2/3] gnu: r: Install info documentation. * gnu/packages/statistics.scm (r)[arguments]: Add phases "make-info" and "install-info" to build and install info documentation. --- gnu/packages/statistics.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index b1cc5cf..ec705c2 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -68,7 +68,11 @@ (add-before 'check 'set-timezone ;; Some tests require the timezone to be set. - (lambda _ (setenv "TZ" "UTC") #t))) + (lambda _ (setenv "TZ" "UTC") #t)) + (add-after 'build 'make-info + (lambda _ (zero? (system* "make" "info")))) + (add-after 'build 'install-info + (lambda _ (zero? (system* "make" "install-info"))))) #:configure-flags '("--with-blas=openblas" "--with-lapack" -- 2.1.0