aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-01-26 16:22:03 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-01-27 02:47:21 -0300
commit403115565351a5a4277d45b96b1c37a347f1d0b4 (patch)
treeb36dd84dbf5b060da8af6f96b74c21eafe0bd19b
parentci: sort items on paths-ignore lists (diff)
downloadfirejail-403115565351a5a4277d45b96b1c37a347f1d0b4.tar.gz
firejail-403115565351a5a4277d45b96b1c37a347f1d0b4.tar.zst
firejail-403115565351a5a4277d45b96b1c37a347f1d0b4.zip
build: run commands silently on config targets
And also add an "error: " prefix, to make the output clearer. Before: $ rm -f config.mk; make config.mk printf 'run ./configure to generate %s\n' "config.mk" >&2 run ./configure to generate config.mk false make: *** No rule to make target 'config.mk'. Stop. After: $ rm -f config.mk; make config.mk error: run ./configure to generate config.mk make: *** No rule to make target 'config.mk'. Stop. This amends commit e21637ca8 ("makefiles: add generated files as dependencies", 2022-06-23) / PR #5219.
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 119bf6b4b..a412aa767 100644
--- a/Makefile
+++ b/Makefile
@@ -25,8 +25,8 @@ ALL_ITEMS = $(APPS) $(SBOX_APPS) $(SBOX_APPS_NON_DUMPABLE) $(MYLIBS)
25all: all_items mydirs $(MAN_TARGET) filters 25all: all_items mydirs $(MAN_TARGET) filters
26 26
27config.mk config.sh: 27config.mk config.sh:
28 printf 'run ./configure to generate %s\n' "$@" >&2 28 @printf 'error: run ./configure to generate %s\n' "$@" >&2
29 false 29 @false
30 30
31.PHONY: all_items $(ALL_ITEMS) 31.PHONY: all_items $(ALL_ITEMS)
32all_items: $(ALL_ITEMS) 32all_items: $(ALL_ITEMS)