From: Darrick J. Wong Date: Thu, 28 Mar 2019 23:05:01 +0000 (-0500) Subject: debian: don't bypass top level Makefile when building subdirs X-Git-Tag: v5.0.0-rc1~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33d7c2503cc6552fe6192f35b6e4b11702acbbee;p=thirdparty%2Fxfsprogs-dev.git debian: don't bypass top level Makefile when building subdirs The top level Makefile does some processing to set build environment variables (Q and CHECK_CMD). debian/rules uses -C to build subdirs directly, which bypases this feature of the top-level makefile, which causes more build spew than necessary (because Q never gets set to quiet the build). Since the top level makefile can be used to build the subdirs debian/rules cares about, drop the -C and build subdirs via the top level Makefile to quiet the build. Signed-off-by: Darrick J. Wong Reviewed-by: Nathan Scott Signed-off-by: Eric Sandeen --- diff --git a/debian/rules b/debian/rules index 80dff4bb1..7c2a8b3c8 100755 --- a/debian/rules +++ b/debian/rules @@ -51,7 +51,7 @@ dibuild: $(MAKE) -C $$dir NODEP=1 install-headers; \ done; \ for dir in include libxfs libxcmd libfrog mkfs; do \ - $(MAKE) -C $$dir; \ + $(MAKE) $$dir; \ done; \ mv mkfs/mkfs.xfs mkfs/mkfs.xfs-$(bootpkg); \ $(MAKE) distclean; \