aboutsummaryrefslogtreecommitdiffstats
path: root/src/man/Makefile
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2024-05-18 04:09:39 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2024-05-24 10:10:41 -0300
commit5e2f4c36629ede58c3bb42111fdb3355c1317bcd (patch)
tree8123099fac07a0c7653fc0086a6980f9eeae6d7e /src/man/Makefile
parentprofiles: yelp: add Firefox URL open support (#6349) (diff)
downloadfirejail-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/Makefile')
-rw-r--r--src/man/Makefile2
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 @@
2ROOT = ../.. 2ROOT = ../..
3-include $(ROOT)/config.mk 3-include $(ROOT)/config.mk
4 4
5GAWK ?= gawk
6
5MOD_DIR := $(ROOT)/src/man 7MOD_DIR := $(ROOT)/src/man
6MANPAGES_IN := $(sort $(wildcard $(MOD_DIR)/*.in)) 8MANPAGES_IN := $(sort $(wildcard $(MOD_DIR)/*.in))
7MANPAGES_GZ := $(MANPAGES_IN:.in=.gz) 9MANPAGES_GZ := $(MANPAGES_IN:.in=.gz)