diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2024-05-18 04:09:39 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2024-05-24 10:10:41 -0300 |
commit | 5e2f4c36629ede58c3bb42111fdb3355c1317bcd (patch) | |
tree | 8123099fac07a0c7653fc0086a6980f9eeae6d7e /src/man | |
parent | profiles: yelp: add Firefox URL open support (#6349) (diff) | |
download | firejail-5e2f4c36629ede58c3bb42111fdb3355c1317bcd.tar.gz firejail-5e2f4c36629ede58c3bb42111fdb3355c1317bcd.tar.zst firejail-5e2f4c36629ede58c3bb42111fdb3355c1317bcd.zip |
build: define CC/GAWK if undefined
Just in case the value is not defined in config.mk and `make` is first
executed from another directory (such as in src/man) instead of the root
directory.
This amends commit 93d623fdf ("build: allow overriding certain tools",
2024-02-23) / PR #6222.
Diffstat (limited to 'src/man')
-rw-r--r-- | src/man/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/man/Makefile b/src/man/Makefile index 1c1fd49a5..682aadaad 100644 --- a/src/man/Makefile +++ b/src/man/Makefile | |||
@@ -2,6 +2,8 @@ | |||
2 | ROOT = ../.. | 2 | ROOT = ../.. |
3 | -include $(ROOT)/config.mk | 3 | -include $(ROOT)/config.mk |
4 | 4 | ||
5 | GAWK ?= gawk | ||
6 | |||
5 | MOD_DIR := $(ROOT)/src/man | 7 | MOD_DIR := $(ROOT)/src/man |
6 | MANPAGES_IN := $(sort $(wildcard $(MOD_DIR)/*.in)) | 8 | MANPAGES_IN := $(sort $(wildcard $(MOD_DIR)/*.in)) |
7 | MANPAGES_GZ := $(MANPAGES_IN:.in=.gz) | 9 | MANPAGES_GZ := $(MANPAGES_IN:.in=.gz) |