[Qt-creator] qmake: how to disable error ignoring for make recipe in Makefile?
Andrzej Telszewski
atelszewski at gmail.com
Mon Feb 22 12:48:58 CET 2016
Hi,
When I generate Makefile with qmake, the recipe for installing looks
something like this:
install_target: first FORCE
@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/sbin/ || $(MKDIR)
$(INSTALL_ROOT)/usr/sbin/
-$(INSTALL_PROGRAM) "$(QMAKE_TARGET)"
"$(INSTALL_ROOT)/usr/sbin/$(QMAKE_TARGET)"
-$(STRIP) "$(INSTALL_ROOT)/usr/sbin/$(QMAKE_TARGET)"
Hyphens "-" are added in front of $(INSTALL_PROGRAM) and $(STRIP). These
"-" allow to ignore recipe errors.
But I would actually like to switch on failing on recipe error.
How can I do it?
That is, what and where I have to specify for the "-" to be removed?
--
Best regards,
Andrzej Telszewski
More information about the Qt-creator
mailing list