diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-08-28 22:22:22 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-08-29 01:25:08 +0200 |
commit | 96c462105627569ae4b82cdc0e0059806f855ba6 (patch) | |
tree | 81e23ce00be19c620fa28518284efaec576f75c0 /gnu/packages/textutils.scm | |
parent | 4cc2ed98cf7837e042ad4234c91fe730259a7170 (diff) | |
download | guix-96c462105627569ae4b82cdc0e0059806f855ba6.tar.gz |
gnu: Use 'install-file' instead of 'mkdir-p' and 'copy-file' in obvious cases.
* gnu/packages/bioinformatics.scm (bedtools, bowtie, bwa, hisat, samtools, plink, star): Use 'install-file' instead of 'mkdir-p' + 'copy-file'. * gnu/packages/check.scm (catch-framework): Likewise. * gnu/packages/code.scm (global): Likewise. * gnu/packages/emacs.scm (magit-svn, haskell-mode, emacs-pdf-tools): Likewise. * gnu/packages/engineering.scm (fastcap, fasthenry): Likewise. * gnu/packages/gnuzilla.scm (nss): Likewise. * gnu/packages/guile.scm (guile-minikanren): Likewise. * gnu/packages/java.scm (swt): Likewise. * gnu/packages/make-bootstrap.scm (%static-binaries): Likewise. * gnu/packages/maths.scm (lpsolve): Likewise. * gnu/packages/mp3.scm (mpc123): Likewise. * gnu/packages/ninja.scm (ninja): Likewise. * gnu/packages/python.scm (python-numpy, python-pyparsing): Likewise. * gnu/packages/screen.scm (dtach): Likewise. * gnu/packages/synergy.scm (synergy): Likewise. * gnu/packages/textutils.scm (utf8proc): Likewise. * gnu/packages/version-control.scm (git-test-sequence): Likewise. * gnu/packages/wicd.scm (wicd): Likewise.
Diffstat (limited to 'gnu/packages/textutils.scm')
-rw-r--r-- | gnu/packages/textutils.scm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index 08b1b64c57..95a8ad1da9 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -111,11 +111,9 @@ libenca and several charset conversion libraries and tools.") (lambda* (#:key outputs #:allow-other-keys) (let ((lib (string-append (assoc-ref outputs "out") "/lib/")) (include (string-append (assoc-ref outputs "out") "/include/"))) - (mkdir-p lib) - (mkdir-p include) - (copy-file "utf8proc.h" (string-append include "utf8proc.h")) + (install-file "utf8proc.h" include) (for-each (lambda (file) - (copy-file file (string-append lib (basename file)))) + (install-file file lib)) '("libutf8proc.a" "libutf8proc.so")))) ;; no configure script (alist-delete 'configure %standard-phases)))) |