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>
build/Rules.in \
build/gen_filelist.sh
build/Rules.in \
build/gen_filelist.sh
-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 \
@CONFIGURE_ARGS=""; \
for arg in $(ac_configure_args); do \
case $$arg in \
echo "Building Lustre RPM with $$RPMARGS"; \
eval rpmbuild $$RPMARGS -ta $(distdir).tar.gz
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; \
if [[ "X$(BUILD_TESTS)" = Xfalse ]]; then \
RPMARGS="--without lustre_tests"; \
fi; \
fi; \
eval rpmbuild $$RPMARGS -ts $(distdir).tar.gz
fi; \
eval rpmbuild $$RPMARGS -ts $(distdir).tar.gz
-rpms:
-if BUILD_LUSTREIOKIT
- $(MAKE) -C @LUSTREIOKIT_SUBDIR@ $(AM_MAKEFLAGS) $@
-endif
- $(MAKE) $(AM_MAKEFLAGS) rpms-real
-
-srpm:
-if BUILD_LUSTREIOKIT
- $(MAKE) -C @LUSTREIOKIT_SUBDIR@ $(AM_MAKEFLAGS) $@
-endif
- $(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:
# 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: