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 17d91fe154b660ef667fde5eaf52118b40064bb0
parent 24af0c7e2346b2b11fa30a159072153ed94a82b3
Author: Brian Mayer <bleemayer@gmail.com>
Date:   Wed, 23 Aug 2023 17:05:48 -0300

Merge pull request #47 from rnwgnr/makefile

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)