From 785c9c787d16517333abe3067ff4ccf26499b117 Mon Sep 17 00:00:00 2001 From: sloum Date: Mon, 31 May 2021 16:00:00 -0700 Subject: [PATCH] Updates the build instructions on the readme and updates the man page to include right click copying of links --- Makefile | 2 +- README.md | 7 +++++-- goldberry.1 | 1 + 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 9333b49..ae1a64b 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ install-man: ${BINARY}.1 install -m 0644 ./${BINARY}.1.gz ${DESTDIR}${MAN1DIR} .PHONY: install-bin -install-bin: build +install-bin: build/goldberry install -d ${DESTDIR}${BINDIR} install -m 0755 ./build/${BINARY} ${DESTDIR}${BINDIR} diff --git a/README.md b/README.md index 73aa505..4e38561 100644 --- a/README.md +++ b/README.md @@ -10,11 +10,14 @@ This was built mostly on a whim. I do not have much use for a graphical client a At present goldberry is only tested on x86/64 Linux. It should be buildable for both windows and OSX as well, but has not been tested. +From the root folder of the repo: + ``` sh +make sudo make install ``` -The above should do the job for most folks, assuming dependencies have been met. +The first step builds the application locally and the later installs it and the man page to the `/usr/local` heirarchy (`bin` and `share/man/man1` respectively). ### Dependencies @@ -36,7 +39,7 @@ To see minimum versions and for install help, see the [wails linux documentation Once wails is installed and working, goldberry should build just fine. -#### Clipboard +#### clipboard This dependency is used to allow access to the system clipboard. This was not functioning via wails' frontend (js, via either the async or the blocking method). As a result this dependency was added in order to facilitate usage of the clipboard. On linux/unix either `xsel` or `xclip` must be installed for clipboard access to work. diff --git a/goldberry.1 b/goldberry.1 index 45b0f6c..39635b4 100644 --- a/goldberry.1 +++ b/goldberry.1 @@ -10,6 +10,7 @@ .SH DESCRIPTION \fBgoldberry\fP is a graphical smallnet client supporting the gemini and gopher protocols .SH COMMANDS +In addition to the various key commands, right clicking on any link will copy the link's target (the url it links to) to the system clipboard. .TP .B Ctrl a