Change in osmo-gsm-manuals[master]: Makefile.docbook.inc: allow to re-define the include directory

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

fixeria gerrit-no-reply at lists.osmocom.org
Fri Oct 30 18:05:20 UTC 2020


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/20985 )


Change subject: Makefile.docbook.inc: allow to re-define the include directory
......................................................................

Makefile.docbook.inc: allow to re-define the include directory

Change-Id: I08481319bbe14c3f45bf38bafa478de239751400
Related: SYS#4937
---
M build/Makefile.docbook.inc
1 file changed, 4 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-manuals refs/changes/85/20985/1

diff --git a/build/Makefile.docbook.inc b/build/Makefile.docbook.inc
index 655ff58..22e9bb4 100644
--- a/build/Makefile.docbook.inc
+++ b/build/Makefile.docbook.inc
@@ -27,6 +27,9 @@
 
 all: $(DOCBOOKS_PDF)
 
+# Allow the users to re-define the include directory
+INC_DIR ?= $(PWD)/generated
+
 # Lint the file
 %.xml-lint: %.xml
 	xmllint --xinclude --postvalid --noout $<
@@ -34,6 +37,6 @@
 # Create a PDF file and lint it before
 # xslt path: find includes in both $(OSMO_GSM_MANUALS_DIR)/common/chapters and $(builddir)/generated
 %.pdf: %.xml %.xml-lint $(DOCBOOKS_DEPS) build common
-	dblatex --xslt-opts="--path $(realpath $(OSMO_GSM_MANUALS_DIR))/common/chapters:$$PWD/generated" \
+	dblatex --xslt-opts="--path $(realpath $(OSMO_GSM_MANUALS_DIR))/common/chapters:$(INC_DIR)" \
 		$(dblatex_quiet) -P draft.mode=no -o $(notdir $@) $<
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/20985
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gsm-manuals
Gerrit-Branch: master
Gerrit-Change-Id: I08481319bbe14c3f45bf38bafa478de239751400
Gerrit-Change-Number: 20985
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201030/ffad4be7/attachment.htm>


More information about the gerrit-log mailing list