mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
conf/jcs, make, tmpl/doxygen: Align equal signs in makefiles to column 30
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
e3142c9624
commit
0eaef0c326
59 changed files with 2065 additions and 2032 deletions
|
|
@ -3,28 +3,28 @@
|
|||
include $(MODDIR)/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
|
||||
DEVELOPMENT := true
|
||||
else
|
||||
DEVELOPMENT := $(shell grep -q 'dev' $(VERSION_FILE) && echo true)
|
||||
DEVELOPMENT := $(shell grep -q 'dev' $(VERSION_FILE) && echo true)
|
||||
endif
|
||||
endif
|
||||
|
||||
# -- Conclude the build system's location:
|
||||
PROJECTS_DIR ?= $(TOPDIR)/..
|
||||
PROJECTS_DIR ?= $(TOPDIR)/..
|
||||
ifeq ($(DEVELOPMENT),true)
|
||||
PRJS_DIR ?= $(PROJECTS_DIR)
|
||||
PRJS_DIR ?= $(PROJECTS_DIR)
|
||||
else
|
||||
PRJS_DIR ?= /opt
|
||||
PRJS_DIR ?= /opt
|
||||
endif
|
||||
|
||||
# -- Query the build system about other projects:
|
||||
PYTHON ?= /usr/bin/python2
|
||||
PYTHON ?= /usr/bin/python2
|
||||
ifneq ($(TOPDIR),)
|
||||
proj_query_cmd = $(PYTHON) $(MOD_SCRIPT_DIR)/projects.py -p $(PRJS_DIR) -t $(TOPDIR) $(PROJECTS_PY_EXTRA_ARGS)
|
||||
proj_query = $(shell $(proj_query_cmd) $(1))
|
||||
proj_dir = $(call proj_query,proj-dir $(1))
|
||||
htdocs_dir = $(call proj_query,htdocs-dir $(1))
|
||||
proj_query_cmd = $(PYTHON) $(MOD_SCRIPT_DIR)/projects.py -p $(PRJS_DIR) -t $(TOPDIR) $(PROJECTS_PY_EXTRA_ARGS)
|
||||
proj_query = $(shell $(proj_query_cmd) $(1))
|
||||
proj_dir = $(call proj_query,proj-dir $(1))
|
||||
htdocs_dir = $(call proj_query,htdocs-dir $(1))
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue