From: Thierry Parmentelat Date: Fri, 4 Jan 2008 17:29:03 +0000 (+0000) Subject: exports plrelease to specfiles X-Git-Tag: 4.2-rc2~312 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=d25f3cabb45480decf8ce83edfe403a9c34dec54;p=build.git exports plrelease to specfiles --- diff --git a/Makefile b/Makefile index 5ad0380f..52f3184a 100644 --- a/Makefile +++ b/Makefile @@ -88,6 +88,9 @@ # #################### +# exported to spec files as plrelease +PLANETLAB_RELEASE = 4.2 + # # Default values # @@ -232,6 +235,7 @@ $($(1).specpath): echo "%define distroname $(DISTRO)" >> $($(1).specpath) echo "%define distrorelease $(RELEASE)" >> $($(1).specpath) echo "%define pldistro $(PLDISTRO)" >> $($(1).specpath) + echo "%define plrelease $(PLANETLAB_RELEASE)" >> $($(1).specpath) $(if $($(1).has-date),echo "%define date $(shell date +%Y.%m.%d)" >> $($(1).specpath),) $(if $($(1)-SPECVARS), \ $(foreach line,$($(1)-SPECVARS), \