build/Makefile: set LIBOSMO_DIR UPLOAD_PATH only if not exists

Allows the user to set by env or argument

Change-Id: Ibc2c9ff6e61fd8cb59b908a9586ad5841d698924
This commit is contained in:
Alexander Couzens 2016-10-04 18:31:16 +02:00 committed by lynxis lazus
parent 3163b416fa
commit e37ba377b3
1 changed files with 2 additions and 2 deletions

View File

@ -1,9 +1,9 @@
# XSL stylesheets downloaded from http://docbook.sourceforge.net/release/xsl/current/html/
# Makefile from BitBake/OpenEmbedded manuals
LIBOSMO_DIR := ~/source/gsm/libosmocore
LIBOSMO_DIR ?= ~/source/gsm/libosmocore
MERGE_DOC := $(LIBOSMO_DIR)/doc/vty/merge_doc.xsl
UPLOAD_PATH := generic@sysmocom-downloads:documents
UPLOAD_PATH ?= generic@sysmocom-downloads:documents
pdfs = $(patsubst %.xml,%.pdf,$(manuals))
lint = $(patsubst %.xml,%.xml-lint,$(manuals))