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:
parent
6d6d7ff6df
commit
26eae5d11c
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue