Skip to content

Commit

Permalink
deb: make --output-sync=target
Browse files Browse the repository at this point in the history
Rather than Debian logs containing a barely decipherable mix
of build command and the output of some other command, we
use the make option --output-sync=target. This make the compile
line and the output stay together in the output stream.

This option exists even in the make version in debian;stretch
so should work everywhere.

Test on debian:stretch, ubuntu:18.04, the two lowest version that
use the debian/rules.
  • Loading branch information
grooverdan committed Apr 7, 2022
1 parent 8990ffe commit dea4e17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ override_dh_auto_build:
@echo "RULES.$@"
# Print build env info to help debug builds on different platforms
dpkg-architecture
cd $(BUILDDIR) && $(MAKE)
cd $(BUILDDIR) && $(MAKE) --output-sync=target

override_dh_auto_test:
@echo "RULES.$@"
Expand Down

0 comments on commit dea4e17

Please sign in to comment.