]> xenbits.xensource.com Git - xcp/xen-api-libs.git/commitdiff
Modify the mk/Makefile to invoke autogen.sh && configure to generate the main Makefile.
authorDavid Scott <dave.scott@eu.citrix.com>
Wed, 11 Nov 2009 17:41:50 +0000 (17:41 +0000)
committerDavid Scott <dave.scott@eu.citrix.com>
Wed, 11 Nov 2009 17:41:50 +0000 (17:41 +0000)
Signed-off-by: David Scott <dave.scott@eu.citrix.com>
mk/Makefile

index d7e37edbe23b493ef4d8c6d51c0df0b9c89bcf6e..74a7b8152911dcc4ca984939de839f39d0ecdda4 100644 (file)
@@ -23,6 +23,7 @@ OUTPUT_SRC            ?= $(MY_SOURCES)/xen-api-libs-src.tar.bz2
 $(OUTPUT_API_DEVEL_PKG):
        rm -rf $(STAGING)
        mkdir -p $(MY_OUTPUT_DIR)
+       (cd $(REPO) && sh autogen.sh && ./configure)
        $(MAKE) -C $(REPO) clean
        $(MAKE) -C $(REPO) all
        $(MAKE) -C $(REPO) DESTDIR=$(STAGING) install
@@ -31,6 +32,7 @@ $(OUTPUT_API_DEVEL_PKG):
 $(OUTPUT_API_PKG): $(OUTPUT_API_DEVEL_PKG)
        rm -rf $(STAGING)
        mkdir -p $(MY_MAIN_PACKAGES)
+       (cd $(REPO) && sh autogen.sh && ./configure)
        $(MAKE) -C $(REPO) bins
        $(MAKE) -C $(REPO) DESTDIR=$(STAGING) bininstall
        tar -C $(STAGING) -jcf $@ .
@@ -38,6 +40,7 @@ $(OUTPUT_API_PKG): $(OUTPUT_API_DEVEL_PKG)
 $(OUTPUT_XAPI_DEVEL_PKG):
        rm -rf $(STAGING)
        mkdir -p $(MY_OUTPUT_DIR)
+       (cd $(REPO) && sh autogen.sh && ./configure)
        $(MAKE) -C $(REPO) cleanxen
        $(MAKE) -C $(REPO) allxen
        $(MAKE) -C $(REPO) DESTDIR=$(STAGING) installxen