gnu: docbook-dsssl: Fix script installation path.

* gnu/packages/docbook.scm (docbook-dsssl)[source]: Fix script permission.
[arguments]<#:install-plan>: Install script and manpage correctly.
[inputs]: Add perl.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Bruno Victal 2023-10-19 16:38:20 +01:00 committed by Ludovic Courtès
parent cdfbb6240f
commit 7f50bd17a9
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -516,6 +516,7 @@ (define-public docbook-dsssl
"1g72y2yyc2k89kzs0lvrb9n7hjayw1hdskfpplpz97pf1c99wcig")) "1g72y2yyc2k89kzs0lvrb9n7hjayw1hdskfpplpz97pf1c99wcig"))
(snippet (snippet
#~(begin #~(begin
(chmod "bin/collateindex.pl" #o755)
;; Remove empty directories. ;; Remove empty directories.
(rmdir "doc") (rmdir "doc")
(rmdir "docsrc"))))) (rmdir "docsrc")))))
@ -524,10 +525,12 @@ (define-public docbook-dsssl
(arguments (arguments
(list (list
#:install-plan #:install-plan
#~`(("./" "sgml/dtd/docbook/") #~`(("./" "sgml/dtd/docbook/" #:exclude ("bin"))
("bin/collateindex.pl" "bin/")
("bin/collateindex.pl.1" "share/man/man1/")
(#$(this-package-input "docbook-dsssl-doc") "./" #:output "doc")))) (#$(this-package-input "docbook-dsssl-doc") "./" #:output "doc"))))
(inputs (inputs
(list docbook-dsssl-doc)) (list perl docbook-dsssl-doc))
(home-page "https://docbook.org/") (home-page "https://docbook.org/")
(synopsis "DSSSL style sheets for DocBook") (synopsis "DSSSL style sheets for DocBook")
(description "This package provides DSSSL style sheets for DocBook.") (description "This package provides DSSSL style sheets for DocBook.")