diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -2,10 +2,11 @@ CFLAGS?=-Wall -Wextra -Wpedantic -O3 CFLAGS+=`pkg-config --cflags libgit2` LDLIBS+=`pkg-config --libs libgit2` -PREFIX?=/usr/local -BINDIR?=$(PREFIX)/bin -DATADIR?=$(PREFIX)/share -MANDIR?=$(DATADIR)/man/man1 +PREFIX=/usr/local +BINDIR=$(PREFIX)/bin +DATADIR=$(PREFIX)/share +MANDIR=$(DATADIR)/man +MAN1DIR=$(MANDIR)/man1 all: pkgrel @@ -14,7 +15,7 @@ clean: install: all install -Dm755 pkgrel -t $(DESTDIR)$(BINDIR)/ - install -Dm644 pkgrel.1 -t $(DESTDIR)$(MANDIR)/ + install -Dm644 pkgrel.1 -t $(DESTDIR)$(MAN1DIR)/ uninstall: rm -f $(DESTDIR)$(BINDIR)/pkgrel |