Skip to content

Commit

Permalink
Merge pull request #50 from rnwgnr/patch-1
Browse files Browse the repository at this point in the history
Update Makefile
  • Loading branch information
blmayer authored Sep 3, 2023
2 parents 631ce70 + 3cc848c commit 614bcb1
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +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)
mkdir -p $(BINDIR) $(DOCDIR) $(LICENSEDIR) $(MANDIR)
install -m +rx astro -t $(BINDIR)
install -m +r README.md -t $(DOCDIR)
install -m +r LICENSE -t $(DOCDIR)
install -m +r README.md CONTRIBUTING.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

0 comments on commit 614bcb1

Please sign in to comment.