diff options
author | Foo Chuan Wei <chuanwei.foo@hotmail.com> | 2021-12-15 14:56:32 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-12-20 16:21:40 +0100 |
commit | 442b2d9d7d09840cc23010e4d390308400780836 (patch) | |
tree | d11bc249cf8e31f37fd262d9f042e1c36c3f637f /gnu | |
parent | e60f803b900634ee90a498c45c5af7cd5160f8c3 (diff) | |
download | guix-442b2d9d7d09840cc23010e4d390308400780836.tar.gz |
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>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/version-control.scm | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 8044370dfb..d874011e9d 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -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") |