Fix build with default paths

If LIBOSMO_DIR is not set explicitly than ~/source/gsm/libosmocore is
used which is base for MERGE_DOC which is used by
vty_reference_combine.sh as it is. If the shell used by
vty_reference_combine.sh does not expand ~ than the build will
fail. Let's be nice and use realpath on MERGE_DOC before giving it to
vty_reference_combine.sh to make sure complete path is used.

Change-Id: I2edf64348502cbe498d9fd27a686c712b044c926
This commit is contained in:
Max 2017-11-02 13:09:18 +01:00
parent 5c6f783d60
commit 5625fcf76f
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ DOCBOOKS_DEPS = generated/docbook_vty.xml
include $(TOPDIR)/build/Makefile.docbook.inc
LIBOSMO_DIR ?= ~/source/gsm/libosmocore
MERGE_DOC = $(LIBOSMO_DIR)/doc/vty/merge_doc.xsl
MERGE_DOC = $(shell realpath $(LIBOSMO_DIR)/doc/vty/merge_doc.xsl)
CLEAN_FILES += generated