diff options
author | Rob Austein <sra@hactrn.net> | 2018-07-14 21:49:32 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2018-07-14 21:49:32 -0400 |
commit | 693e194e9c5439248fb7f63c8d4bb7dd94655c24 (patch) | |
tree | b4e742d91c9d65e7e6b2c90215bbcc8c78d58747 /Makefile | |
parent | 7dc1fa158837ed78d36858598a8097786bd0261a (diff) |
Fix generated Debian package names ("_" is illegal).
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -22,7 +22,7 @@ GIT_BRANCHES := $(filter-out HEAD,$(sort $(notdir $(shell git for-each-ref --fo # other package names (constructed on other branches) with which this # one conflicts. -PACKAGE_BRANCH = ${PACKAGE_BASE_NAME}$(and $(filter-out master,$(1)),-$(1)) +PACKAGE_BRANCH = ${PACKAGE_BASE_NAME}$(and $(filter-out master,$(1)),-$(subst _,-,$(1))) PACKAGE_NAME := $(call PACKAGE_BRANCH,${GIT_BRANCH}) PACKAGE_CONFLICT := $(foreach I,$(filter-out ${GIT_BRANCH},${GIT_BRANCHES}),$(call PACKAGE_BRANCH,${I})) PACKAGE_VERSION := ${PACKAGE_BASE_VERSION}.${GIT_VERSION} |