[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#27004: [PATCH] * gnu: surfraw: Fix broken symlinks in manpages.
From: |
Kei Kebreau |
Subject: |
bug#27004: [PATCH] * gnu: surfraw: Fix broken symlinks in manpages. |
Date: |
Thu, 22 Jun 2017 10:47:05 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
address@hidden writes:
> * gnu/packages/web.scm (surfraw)[arguments]: Add new 'compress-elvi.1sr'
> phase.
Nice catch.
> (build-system gnu-build-system)
> + (arguments
> + `(#:phases
> + (modify-phases %standard-phases
> + (add-after 'install 'compress-elvi.1sr
> + (lambda* (#:key outputs #:allow-other-keys)
> + ;; The manpages of the elvis are symlinks to elvi.1sr.gz
> + ;; but elvi.1sr does not get compress by our manpage phase.
Changed "compress" to "compressed".
> + (let* ((out (assoc-ref %outputs "out"))
> + (man (string-append out "/share/man/man1")))
> + (with-directory-excursion man
> + (zero? (system* "gzip" "elvi.1sr")))))))))
> (inputs
> `(("perl" ,perl)
> ("perl-www-opensearch" ,perl-www-opensearch)
LGTM otherwise.
Pushed to master as e81fd90e2f8a38248b4b0c6b883305528acc9a9e.
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#27004: [PATCH] * gnu: surfraw: Fix broken symlinks in manpages.,
Kei Kebreau <=