aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2023-05-16 11:42:44 +0200
committerOliver Smith <osmith@sysmocom.de>2023-05-16 11:49:39 +0200
commitafc081e13116a3232597ad27ab5bbcb3c2a155fe (patch)
tree8b4859271c5f5faf0d3852262d2d6c9113167ba0
parentdba860c733295ecf9183e8e20cabbfd6dfa67011 (diff)
build/Makefile.docbook: fix INC_DIR for openbsc
When Makefile.docbook.inc gets included by openbsc, the PWD Makefile variable is empty (probably because the including file is not generated by automake). Use the shell pwd command instead. This fixes the master-openbsc jenkins job which has been failing since previous patch dba860c7 ("VTY references: set git version and date") was merged. Related: OS#4063 Change-Id: I6026623ec9a5eef0ca8c47bf46605086e361c2bc
-rw-r--r--build/Makefile.docbook.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/Makefile.docbook.inc b/build/Makefile.docbook.inc
index eff6c66..df17646 100644
--- a/build/Makefile.docbook.inc
+++ b/build/Makefile.docbook.inc
@@ -28,7 +28,7 @@ UPLOAD_FILES += $(DOCBOOKS_PDF)
all: $(DOCBOOKS_PDF)
# Allow the users to re-define the include directory
-INC_DIR ?= $(PWD)/generated
+INC_DIR ?= $(shell pwd)/generated
# Lint the file
%.xml-lint: %.xml