--- common/Makefile.common 2017/11/24 18:39:04 1.13 +++ common/Makefile.common 2022/06/08 18:44:49 1.14 @@ -5,7 +5,7 @@ # Copyright (C) 2004-2005 Red Hat, Inc. # Copyright (C) 2005 Fedora Foundation # -# $Id: Makefile.common,v 1.12 2013/11/11 14:41:28 unnilennium Exp $ +# $Id: Makefile.common,v 1.13 2017/11/24 18:39:04 jpp Exp $ # Define the common dir. # This needs to happen first. @@ -26,7 +26,7 @@ TARGET := $(word 1, $(BRANCHINFO)) DIST = $(word 2, $(BRANCHINFO)) DISTVAR = $(word 3, $(BRANCHINFO)) DISTVAL = $(word 4, $(BRANCHINFO)) -DISTDEF = $(shell echo $(DIST) | sed -e s/^\\\.// ) +DISTDEF = $(shell echo $(DIST) | sed -e s/^\\\.//| sed -e s/\\\./_/ ) SMEVAL = $(word 5, $(BRANCHINFO)) DIST_DEFINES = --define "dist $(DIST)" --define "$(DISTVAR) $(DISTVAL)" --define "$(DISTDEF) 1" --define "sme $(SMEVAL)"