Make DOCDIR and MANDIR in the same way configurable as PREFIX etc

This commit is contained in:
Norbert Preining 2018-12-04 08:40:05 +09:00
parent 33dc260fd2
commit 56b63acede

View file

@ -1,8 +1,8 @@
DC ?= dmd
DFLAGS += -w -g -ofonedrive -O -L-lcurl -L-lsqlite3 -L-ldl -J.
PREFIX ?= /usr/local
DOCDIR = $(PREFIX)/share/doc/onedrive
MANDIR = $(PREFIX)/share/man/man1
DOCDIR ?= $(PREFIX)/share/doc/onedrive
MANDIR ?= $(PREFIX)/share/man/man1
DOCFILES = README.md README.Office365.md config LICENSE CHANGELOG.md
ifneq ("$(wildcard /etc/redhat-release)","")