Makefile.in: Added support for DESTDIR make parameter

The DESTDIR is commonly used in many build systems to define a new
root for installing the files before creating packages.

Signed-off-by: Marian Marinov <mm@yuhu.biz>
This commit is contained in:
Marian Marinov 2016-06-15 03:37:34 +03:00
parent 6d6d7ff6df
commit 26eae5d11c
1 changed files with 3 additions and 3 deletions

View File

@ -21,9 +21,9 @@ ifeq ($(PC_LIBS),)
endif
LIBS+=$(PC_LIBS)
BINDIR=${prefix}/bin
MANDIR=${prefix}/share/man
PPPDIR=/etc/ppp/peers
BINDIR=$(DESTDIR)/${prefix}/bin
MANDIR=$(DESTDIR)/${prefix}/share/man
PPPDIR=$(DESTDIR)/etc/ppp/peers
include wvrules.mk