summaryrefslogtreecommitdiff
path: root/guix/build/guile-build-system.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix/build/guile-build-system.scm')
-rw-r--r--guix/build/guile-build-system.scm8
1 files changed, 1 insertions, 7 deletions
diff --git a/guix/build/guile-build-system.scm b/guix/build/guile-build-system.scm
index d2198b6715..8934278a97 100644
--- a/guix/build/guile-build-system.scm
+++ b/guix/build/guile-build-system.scm
@@ -66,10 +66,6 @@ determined."
;; Regexp to match Scheme files.
"\\.(scm|sls)$")
-(define %documentation-file-regexp
- ;; Regexp to match README files and the likes.
- "^(README.*|.*\\.html|.*\\.org|.*\\.md)$")
-
(define* (set-locale-path #:key inputs native-inputs
#:allow-other-keys)
"Set 'GUIX_LOCPATH'."
@@ -212,9 +208,7 @@ installed; this is useful for files that are meant to be included."
#:max-processes (if parallel-build? (parallel-job-count) 1)
#:report-progress report-build-progress))))
-(define* (install-documentation #:key outputs
- (documentation-file-regexp
- %documentation-file-regexp)
+(define* (install-documentation #:key outputs documentation-file-regexp
#:allow-other-keys)
"Install files that match DOCUMENTATION-FILE-REGEXP."
(let* ((out (assoc-ref outputs "out"))