gnu: rcs: Install man page for rcsfreeze.

* gnu/packages/version-control.scm (rcs)[arguments]: Install man page
  for rcsfreeze.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Foo Chuan Wei 2021-12-15 14:56:32 +00:00 committed by Ludovic Courtès
parent e60f803b90
commit 442b2d9d7d
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

@ -2032,10 +2032,12 @@ projects, from individuals to large-scale enterprise operations.")
(modify-phases %standard-phases
(add-after 'install 'install-rcsfreeze
(lambda* (#:key outputs #:allow-other-keys)
(chmod "src/rcsfreeze" #o755)
(install-file
"src/rcsfreeze"
(string-append (assoc-ref outputs "out") "/bin")))))))
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin"))
(man1 (string-append out "/share/man/man1")))
(chmod "src/rcsfreeze" #o755)
(install-file "src/rcsfreeze" bin)
(install-file "man/rcsfreeze.1" man1)))))))
(native-inputs (list ed))
(home-page "https://www.gnu.org/software/rcs/")
(synopsis "Per-file local revision control system")