astro

a POSIX shell compatible gemini client (mirror of https://github.com/blmayer/astro)
git clone https://git.clttr.info/astro.git
Log (Feed) | Files | Refs (Tags) | README | LICENSE

commit 6af670b4eeb639038747b572e0c2f21f45a2c1d5
parent 24af0c7e2346b2b11fa30a159072153ed94a82b3
Author: René Wagner <rwa@clttr.info>
Date:   Wed, 23 Aug 2023 20:07:24 +0200

Makefile: install docs and add uninstall

Diffstat:
MMakefile | 12++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,7 +1,15 @@ -.PHONY: install +.PHONY: install uninstall PREFIX ?= ~/.local +BINDIR?=$(PREFIX)/bin +DOCDIR?=$(PREFIX)/share/doc/astro install: - install -m +rx astro -t $(PREFIX)/bin/ + mkdir -p $(BINDIR) $(DOCDIR) + install -m +rx astro -t $(BINDIR) + install -m +r README.md -t $(DOCDIR) + install -m +r LICENSE -t $(DOCDIR) +uninstall: + rm $(BINDIR)/astro + rm -rf $(DOCDIR)