aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/lout.scm
diff options
context:
space:
mode:
authorJohn Darrington <jmd@gnu.org>2014-02-10 21:35:31 +0100
committerLudovic Courtès <ludo@gnu.org>2014-02-10 23:36:42 +0100
commit829b1b253e96b4e26b6d8dd5a128dc0a53a30e96 (patch)
tree807c216b710f40a78a45ac3959427861c26889fd /gnu/packages/lout.scm
parent266b39fc26fff62e63c63f7f6bc8c92dfbc3f91a (diff)
downloadpatches-829b1b253e96b4e26b6d8dd5a128dc0a53a30e96.tar
patches-829b1b253e96b4e26b6d8dd5a128dc0a53a30e96.tar.gz
gnu: lout: Change docdir from "doc" to "share/doc"
* gnu/packages/lout.scm (lout): Change docdir from "doc" to "share/doc". Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/lout.scm')
-rw-r--r--gnu/packages/lout.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/packages/lout.scm b/gnu/packages/lout.scm
index 76cb8a753b..1121f1674b 100644
--- a/gnu/packages/lout.scm
+++ b/gnu/packages/lout.scm
@@ -37,14 +37,14 @@
(("^LOUTLIBDIR[[:blank:]]*=.*$")
(string-append "LOUTLIBDIR = " out "/lib/lout\n"))
(("^LOUTDOCDIR[[:blank:]]*=.*$")
- (string-append "LOUTDOCDIR = " doc "/doc/lout\n"))
+ (string-append "LOUTDOCDIR = " doc "/share/doc/lout\n"))
(("^MANDIR[[:blank:]]*=.*$")
(string-append "MANDIR = " out "/man\n")))
(mkdir out)
(mkdir (string-append out "/bin"))
(mkdir (string-append out "/lib"))
(mkdir (string-append out "/man"))
- (mkdir-p (string-append doc "/doc/lout")))))
+ (mkdir-p (string-append doc "/share/doc/lout")))))
(install-man-phase
'(lambda* (#:key outputs #:allow-other-keys)
(zero? (system* "make" "installman"))))
@@ -60,7 +60,7 @@
(every (lambda (doc)
(format #t "doc: building `~a'...~%" doc)
(with-directory-excursion doc
- (let ((file (string-append out "/doc/lout/"
+ (let ((file (string-append out "/share/doc/lout/"
doc ".ps")))
(and (or (file-exists? "outfile.ps")
(zero? (system* "lout" "-r4" "-o"
@@ -72,7 +72,7 @@
"-dPDFSETTINGS=/prepress"
"-sPAPERSIZE=a4"
file
- (string-append out "/doc/lout/"
+ (string-append out "/share/doc/lout/"
doc ".pdf")))))))
'("design" "expert" "slides" "user")))))
(package