Be more explicit about the default value of DESTDIR
This way, "make --warn-undefined-variables install" does not warn.master
parent
c4f115cdae
commit
4b6174d624
|
@ -24,6 +24,7 @@ INSTALL_PROG ?= $(INSTALL) -m u=rwx,g=rwx,o=rx
|
|||
# as some parts of the makefiles change BINDIR, etc.
|
||||
# and expect INSTALL_BINDIR, etc. to stay in synch
|
||||
# (see `shellquote` in tools/Makefile)
|
||||
DESTDIR ?=
|
||||
INSTALL_BINDIR = $(DESTDIR)$(BINDIR)
|
||||
INSTALL_LIBDIR = $(DESTDIR)$(LIBDIR)
|
||||
INSTALL_STUBLIBDIR = $(DESTDIR)$(STUBLIBDIR)
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
ROOTDIR = ..
|
||||
include $(ROOTDIR)/Makefile.config
|
||||
|
||||
DESTDIR ?=
|
||||
INSTALL_DIR=$(DESTDIR)$(MANDIR)/man$(PROGRAMS_MAN_SECTION)
|
||||
|
||||
install:
|
||||
|
|
Loading…
Reference in New Issue