From: Thierry Parmentelat Date: Thu, 20 Mar 2008 10:11:31 +0000 (+0000) Subject: strip SVNPATH for any trailing spaces - exports distroname (e.g. f8 or centos5) to... X-Git-Tag: 4.2-rc2~130 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=0abd07d34c2db32a51cb91348d2a0254797dc7aa;p=build.git strip SVNPATH for any trailing spaces - exports distroname (e.g. f8 or centos5) to GetPlcRelease --- 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)"