mirror of https://github.com/sipwise/netscript.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
396 B
20 lines
396 B
#!/usr/bin/make -f
|
|
# Uncomment this to turn on verbose mode.
|
|
# export DH_VERBOSE=1
|
|
|
|
DEBVERSION:=$(shell head -n 1 debian/changelog \
|
|
| sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
|
|
|
|
ifneq ($(GIT_COMMIT),)
|
|
export NGCP_VERSION := $(GIT_COMMIT)
|
|
else
|
|
export NGCP_VERSION:=$(DEBVERSION)
|
|
endif
|
|
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_auto_configure:
|
|
echo "NGCP_VERSION=$(NGCP_VERSION)"
|
|
make script_version
|