diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-01-26 16:22:03 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-01-27 02:47:21 -0300 |
commit | 403115565351a5a4277d45b96b1c37a347f1d0b4 (patch) | |
tree | b36dd84dbf5b060da8af6f96b74c21eafe0bd19b /Makefile | |
parent | ci: sort items on paths-ignore lists (diff) | |
download | firejail-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.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -25,8 +25,8 @@ ALL_ITEMS = $(APPS) $(SBOX_APPS) $(SBOX_APPS_NON_DUMPABLE) $(MYLIBS) | |||
25 | all: all_items mydirs $(MAN_TARGET) filters | 25 | all: all_items mydirs $(MAN_TARGET) filters |
26 | 26 | ||
27 | config.mk config.sh: | 27 | config.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) |
32 | all_items: $(ALL_ITEMS) | 32 | all_items: $(ALL_ITEMS) |