]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
debian: don't bypass top level Makefile when building subdirs
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 28 Mar 2019 23:05:01 +0000 (18:05 -0500)
committerEric Sandeen <sandeen@redhat.com>
Thu, 28 Mar 2019 23:05:01 +0000 (18:05 -0500)
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 <darrick.wong@oracle.com>
Reviewed-by: Nathan Scott <nathans@debian.org>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
debian/rules

index 80dff4bb192ebc51f2db25f556990299a1fee46f..7c2a8b3c8cc741f5c172af7aef82d03def42a81b 100755 (executable)
@@ -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; \