--- common/Makefile.common 2017/11/24 18:53:43 1.20 +++ common/Makefile.common 2022/06/08 18:49:05 1.21 @@ -5,7 +5,7 @@ # Copyright (C) 2004-2005 Red Hat, Inc. # Copyright (C) 2005 Fedora Foundation # -# $Id: Makefile.common,v 1.19 2012/08/03 16:54:13 slords Exp $ +# $Id: Makefile.common,v 1.20 2017/11/24 18:53:43 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)"