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 e96949e5f4f07434b7ca4dea38ea1d8a5de1b2dc
parent 19863a23452878c60bf8491228815d1d38c0e8d7
Author: René Wagner <rwa@clttr.info>
Date:   Sat,  2 Sep 2023 09:16:19 +0200

Makefile: install/uninstall man page

Diffstat:
MMakefile | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

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