mirror of
ssh://git.janware.com/janware/proj/jw-pkg
synced 2026-04-25 17:45:55 +02:00
projects.mk: ?= -assign VERSION_FILE
If VERSION_FILE is not found, trying to include makefile snippets triggers the attempt to regenerate it. This happened for installed Makefiles of jw-docker-images: It defines TOPDIR to /opt/jw-docker-images, projects.mk looks there, but the version file is installed under /usr/share/doc/packages/jw-docker-images/VERSION. Allow VERSION_FILE to be overridden including code to keep that from happening. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
26cf7f7823
commit
4932c6816c
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
|||
include $(JWBDIR)/make/platform.mk
|
||||
|
||||
# -- What do I know about myself?
|
||||
VERSION_FILE := $(firstword $(wildcard VERSION) $(TOPDIR)/VERSION)
|
||||
VERSION_FILE ?= $(firstword $(wildcard VERSION) $(TOPDIR)/VERSION)
|
||||
ifndef DEVELOPMENT
|
||||
ifeq ($(wildcard $(VERSION_FILE)),)
|
||||
DEVELOPMENT := true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue