general: clean up.

This commit is contained in:
Dylan Araps 2019-05-22 22:06:52 +03:00
parent e16fffe56e
commit fc00204ab8
1 changed files with 0 additions and 4 deletions

View File

@ -1,5 +1,4 @@
PREFIX ?= /usr
MANDIR ?= $(PREFIX)/share/man
DOCDIR ?= $(PREFIX)/share/doc/pash
all:
@ -7,14 +6,11 @@ all:
install:
@mkdir -p $(DESTDIR)$(PREFIX)/bin
@mkdir -p $(DESTDIR)$(MANDIR)/man1
@mkdir -p $(DESTDIR)$(DOCDIR)
@cp -p pash $(DESTDIR)$(PREFIX)/bin/pash
@cp -p pash.1 $(DESTDIR)$(MANDIR)/man1
@cp -p README.md $(DESTDIR)$(DOCDIR)
@chmod 755 $(DESTDIR)$(PREFIX)/bin/pash
uninstall:
@rm -rf $(DESTDIR)$(PREFIX)/bin/pash
@rm -rf $(DESTDIR)$(MANDIR)/man1/pash.1
@rm -rf $(DESTDIR)$(DOCDIR)