[Build-common-hackers] [PATCH] Add DEB_MAKE_CHECK_INVOKE
Emilio Pozuelo Monfort
pochu at debian.org
Sat Mar 16 16:16:42 UTC 2013
If DEB_MAKE_CHECK_INVOKE is set, it's value will be used to
run the tests, instead of DEB_MAKE_INVOKE. This is useful
if you need to run make under e.g. xvfb-run or dbus-launch,
so you can now do:
DEB_MAKE_CHECK_TARGET = check
DEB_MAKE_CHECK_INVOKE = xvfb-run $(MAKE)
This was first suggested in
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=417398#20
---
1/class/makefile.mk.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/1/class/makefile.mk.in b/1/class/makefile.mk.in
index 8a6ff8f..4fa7b9f 100644
--- a/1/class/makefile.mk.in
+++ b/1/class/makefile.mk.in
@@ -56,7 +56,7 @@ $(cdbs_make_clean_nonstamps)::
common-install-arch common-install-indep:: common-install-impl
common-install-impl:: $(cdbs_make_install_stamps)
$(cdbs_make_install_stamps)::
- $(if $(DEB_MAKE_INSTALL_TARGET),+$(DEB_MAKE_INVOKE) $(DEB_MAKE_INSTALL_TARGET), at echo "DEB_MAKE_INSTALL_TARGET unset, skipping default makefile.mk common-install target")
+ $(if $(DEB_MAKE_INSTALL_TARGET),+$(if $(DEB_MAKE_CHECK_INVOKE),$(DEB_MAKE_CHECK_INVOKE),$(DEB_MAKE_INVOKE)) $(DEB_MAKE_INSTALL_TARGET), at echo "DEB_MAKE_INSTALL_TARGET unset, skipping default makefile.mk common-install target")
$(if $(DEB_MAKE_INSTALL_TARGET),touch $@)
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
--
1.7.10.4
More information about the Build-common-hackers
mailing list