defs.mk: Point INSTALL_DOCDIR to DOC_PREFIX

This used to point to $(PREFIX). Changing it broke the build,
as it expected the VERSION file below PREFIX. This should work
now, as /usr/share/doc/packages was added to the search path
of the VERSION file.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2018-11-18 12:35:38 +00:00
commit 75bf600518

View file

@ -397,9 +397,7 @@ DOCSUBDIRS += $(wildcard html tex info examples src)
BUILD_DOCDIR ?= $(TOPDIR)/doc
BUILD_DOC ?= $(DOC_PREFIX)
# TODO: use INSTALL_DOCDIR ?= $(DOC_PREFIX) which currently would break
# <MODULE>_VERSION below
INSTALL_DOCDIR ?= $(PREFIX)
INSTALL_DOCDIR ?= $(DOC_PREFIX)
INSTALLED_DOC ?= $(addprefix $(INSTALL_DOCDIR)/,$(DOCS))
# -- LIB