[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#52514] [PATCH] gnu: rcs: Install man page for rcsfreeze.
From: |
Foo Chuan Wei |
Subject: |
[bug#52514] [PATCH] gnu: rcs: Install man page for rcsfreeze. |
Date: |
Wed, 15 Dec 2021 14:56:32 +0000 |
* gnu/packages/version-control.scm (rcs)[arguments]: Install man page
for rcsfreeze.
---
gnu/packages/version-control.scm | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index c430834c88..f5faa094a3 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")
base-commit: ddea65d8f540bf3cba660e75ed0ce4f98e6e13a2
--
2.25.1
- [bug#52514] [PATCH] gnu: rcs: Install man page for rcsfreeze.,
Foo Chuan Wei <=