💾 Archived View for gmn.clttr.info › sources › astro.git › tree › Makefile.txt captured on 2023-09-08 at 16:20:42.

View Raw

More Information

⬅️ Previous capture (2023-01-29)

➡️ Next capture (2023-12-28)

🚧 View Differences

-=-=-=-=-=-=-

.PHONY: install uninstall

PREFIX ?= ~/.local
BINDIR?=$(PREFIX)/bin
DOCDIR?=$(PREFIX)/share/doc/astro

install:
	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)