unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#52514] [PATCH] gnu: rcs: Install man page for rcsfreeze.
@ 2021-12-15 14:56 Foo Chuan Wei
  2021-12-20 15:16 ` bug#52514: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Foo Chuan Wei @ 2021-12-15 14:56 UTC (permalink / raw)
  To: 52514

* 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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#52514: [PATCH] gnu: rcs: Install man page for rcsfreeze.
  2021-12-15 14:56 [bug#52514] [PATCH] gnu: rcs: Install man page for rcsfreeze Foo Chuan Wei
@ 2021-12-20 15:16 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2021-12-20 15:16 UTC (permalink / raw)
  To: 52514-done

Hi,

Foo Chuan Wei <chuanwei.foo@hotmail.com> skribis:

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

Applied, thanks!

Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-20 16:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-15 14:56 [bug#52514] [PATCH] gnu: rcs: Install man page for rcsfreeze Foo Chuan Wei
2021-12-20 15:16 ` bug#52514: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).