Whamcloud - gitweb
LU-3959 build: fix make rpms for lustre-iokit 71/7771/3
authorJames Simmons <uja.ornl@gmail.com>
Fri, 27 Sep 2013 15:04:57 +0000 (11:04 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 1 Oct 2013 04:21:03 +0000 (04:21 +0000)
With the recent merge of the lustre-iokit build
system with lustre's build system on some platforms
running make rpms from the top of the lustre tree
breaks with

make -C lustre-iokit  rpms
make[1]: Entering directory `lustre-2.4.93/lustre-iokit'
make[1]: *** No rule to make target `rpms'.  Stop.

This patch removes the offending code in the makfile
without breaking anything else.

Signed-off-by: James Simmons <uja.ornl@gmail.com>
Change-Id: I837ab1c2c383e1ca68eaadc492c3c8cf18cecb92
Reviewed-on: http://review.whamcloud.com/7771
Reviewed-by: Minh Diep <minh.diep@intel.com>
Reviewed-by: Christopher J. Morrone <chris.morrone.llnl@gmail.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Brian J. Murrell <brian.murrell@intel.com>

index 0afd2ed..d45897a 100644 (file)
@@ -94,7 +94,7 @@ EXTRA_DIST = @PACKAGE_TARNAME@.spec   \
        build/Rules.in                  \
-rpms-real: @PACKAGE_TARNAME@.spec dist Makefile
+rpms: @PACKAGE_TARNAME@.spec dist Makefile
        @CONFIGURE_ARGS=""; \
        for arg in $(ac_configure_args); do \
                case $$arg in \
@@ -152,7 +152,7 @@ rpms-real: @PACKAGE_TARNAME@.spec dist Makefile
        echo "Building Lustre RPM with $$RPMARGS"; \
        eval rpmbuild $$RPMARGS -ta $(distdir).tar.gz
-srpm-real: @PACKAGE_TARNAME@.spec dist Makefile
+srpm: @PACKAGE_TARNAME@.spec dist Makefile
        if [[ "X$(BUILD_TESTS)" = Xfalse ]]; then \
                RPMARGS="--without lustre_tests"; \
        fi; \
@@ -161,18 +161,6 @@ srpm-real: @PACKAGE_TARNAME@.spec dist Makefile
         fi; \
        eval rpmbuild $$RPMARGS -ts $(distdir).tar.gz
-       $(MAKE) $(AM_MAKEFLAGS) rpms-real
-       $(MAKE) $(AM_MAKEFLAGS) srpm-real
 # In the debs target, first make sure what's in the changelog reflects
 # the software version.  Here's how we could dig the version out of the
 # autoconf version file directly: