From 0abd07d34c2db32a51cb91348d2a0254797dc7aa Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Thu, 20 Mar 2008 10:11:31 +0000 Subject: [PATCH] strip SVNPATH for any trailing spaces - exports distroname (e.g. f8 or centos5) to GetPlcRelease --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 79990f47..fd7f8d94 100644 --- a/Makefile +++ b/Makefile @@ -208,6 +208,7 @@ define stage1_variables $(1).spec = $(notdir $($(1)-SPEC)) $(1).specpath = SPECS/$(1).spec $(1).module = $(firstword $($(1)-MODULES)) +$(1)-SVNPATH = $(strip $($(1)-SVNPATH)) endef $(foreach package, $(ALL), $(eval $(call stage1_variables,$(package)))) @@ -592,6 +593,7 @@ version-build: @echo -n 'Build planetlab-tagsid: ' ; fgrep '$$''Id' $(PLDISTROTAGS) @echo "Build target-arch: $(HOSTARCH)" @echo "Build target-distro: $(DISTRO)" + @echo "Build target-distroname: $(DISTRONAME)" @echo "Build target-release: $(RELEASE)" @echo "Build target-personality: $(NIGHTLY_PERSONALITY)" -- 2.47.0