From ec01cb3519630140e70c372f7aa52c3c864352a8 Mon Sep 17 00:00:00 2001 From: David Scott Date: Mon, 28 Sep 2009 18:36:40 +0100 Subject: [PATCH] [CAPRI]: add sources to output of xen-api-libs build Signed-off-by: David Scott --- Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ef91be7..663c497 100644 --- a/Makefile +++ b/Makefile @@ -88,12 +88,20 @@ $(OUTPUT_XAPI_PKG): $(MY_OBJ_DIR)/.dirstamp $(MY_OUTPUT_DIR)/.dirstamp $(MAKE) DESTDIR=$(MY_OBJ_DIR)/staging installxen tar -C $(DESTDIR) -zcf $@ . +OUTPUT_SRC := $(MY_OUTPUT_DIR)/xen-api-libs-src.tar.bz2 + +$(MY_SOURCES)/MANIFEST: $(MY_SOURCES_DIRSTAMP) $(OUTPUT_SRC) + echo api lgpl-with-linking-exception file $(OUTPUT_SRC) > $@ + +$(OUTPUT_SRC): + cd $(REPO) && hg archive -t tbz2 $(HG_EXCLUDE) $@ + .PHONY: api-libs -api-libs: $(OUTPUT_API_PKG) +api-libs: $(OUTPUT_API_PKG) $(MY_SOURCES)/MANIFEST @ : .PHONY: xapi-libs -xapi-libs: $(OUTPUT_XAPI_PKG) +xapi-libs: $(OUTPUT_XAPI_PKG) $(MY_SOURCES)/MANIFEST @ : .PHONY: clean -- 2.39.5