forked from epics_driver_modules/require
added GIT_DOMAIN for ORIGIN
This commit is contained in:
@@ -71,6 +71,7 @@ BUILDCLASSES = vxWorks Linux WIN32
|
||||
EPICS_MODULES ?= /ioc/modules
|
||||
MODULE_LOCATION = ${EPICS_MODULES}/$(or ${PRJ},$(error PRJ not defined))/$(or ${LIBVERSION},$(error LIBVERSION not defined))
|
||||
EPICS_LOCATION = /usr/local/epics
|
||||
GIT_DOMAIN = psi.ch
|
||||
|
||||
DOCUEXT = txt html htm doc pdf ps tex dvi gif jpg png
|
||||
DOCUEXT += TXT HTML HTM DOC PDF PS TEX DVI GIF JPG PNG
|
||||
@@ -179,7 +180,7 @@ export MAKE_FIRST
|
||||
export SUBMODULES
|
||||
export USE_LIBVERSION
|
||||
|
||||
export ORIGIN=$(firstword $(shell git remote -v 2>/dev/null | awk '/psi.ch.*(fetch)/{print $$2;exit}')$(patsubst %,[%],$(shell git describe --tags --dirty --always --long 2>/dev/null)) $(PWD))
|
||||
export ORIGIN=$(firstword $(shell git remote -v 2>/dev/null | awk '/${GIT_DOMAIN}.*(fetch)/{print $$2;exit}')$(patsubst %,[%],$(shell git describe --tags --dirty --always --long 2>/dev/null)) $(PWD))
|
||||
|
||||
# Some shell commands:
|
||||
RMDIR = rm -rf
|
||||
@@ -255,6 +256,7 @@ debug::
|
||||
@echo "VERSIONCHECKFILES = ${VERSIONCHECKFILES}"
|
||||
@echo "ARCH_FILTER = ${ARCH_FILTER}"
|
||||
@echo "PRJ = ${PRJ}"
|
||||
@echo "GIT_DOMAIN = ${GIT_DOMAIN}"
|
||||
|
||||
what::
|
||||
@echo "LIBVERSION = ${LIBVERSION}"
|
||||
|
||||
Reference in New Issue
Block a user