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

Makefile (507B)


      1 .PHONY: install uninstall
      2 
      3 PREFIX ?= ~/.local
      4 BINDIR?=$(PREFIX)/bin
      5 DOCDIR?=$(PREFIX)/share/doc/astro
      6 MANDIR?=$(PREFIX)/share/man/man1
      7 LICENSEDIR?=$(PREFIX)/share/doc/astro
      8 
      9 install:
     10 	mkdir -p $(BINDIR) $(DOCDIR) $(LICENSEDIR) $(MANDIR)
     11 	install -m +rx astro -t $(BINDIR)
     12 	install -m +r README.md CONTRIBUTING.md -t $(DOCDIR)
     13 	install -m +r LICENSE -t $(LICENSEDIR)
     14 	install -m +r astro.en.1 $(MANDIR)/astro.1
     15 
     16 uninstall:
     17 	rm $(BINDIR)/astro
     18 	rm -rf $(DOCDIR)
     19 	rm -rf $(LICENSEDIR)
     20 	rm -f $(MANDIR)/astro.1