aboutsummaryrefslogtreecommitdiffstats
path: root/src/man/Makefile
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2024-05-29 21:27:50 +0000
committerLibravatar GitHub <noreply@github.com>2024-05-29 21:27:50 +0000
commitabc6996cc5993fc3e6cc8835d0c2eddb8aa9c14d (patch)
treed3417697b69c1af51b39c2152a2dd65274380aad /src/man/Makefile
parentprofiles: libreoffice: support signing documents with GPG (#6353) (diff)
parentbuild: allow overriding common tools (diff)
downloadfirejail-abc6996cc5993fc3e6cc8835d0c2eddb8aa9c14d.tar.gz
firejail-abc6996cc5993fc3e6cc8835d0c2eddb8aa9c14d.tar.zst
firejail-abc6996cc5993fc3e6cc8835d0c2eddb8aa9c14d.zip
Merge pull request #6354 from kmk3/build-tool-vars
build: allow overriding common tools
Diffstat (limited to 'src/man/Makefile')
-rw-r--r--src/man/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/man/Makefile b/src/man/Makefile
index 1c1fd49a5..767920e2b 100644
--- a/src/man/Makefile
+++ b/src/man/Makefile
@@ -2,6 +2,10 @@
2ROOT = ../.. 2ROOT = ../..
3-include $(ROOT)/config.mk 3-include $(ROOT)/config.mk
4 4
5GAWK ?= gawk
6GZIP ?= gzip
7RM ?= rm -f
8
5MOD_DIR := $(ROOT)/src/man 9MOD_DIR := $(ROOT)/src/man
6MANPAGES_IN := $(sort $(wildcard $(MOD_DIR)/*.in)) 10MANPAGES_IN := $(sort $(wildcard $(MOD_DIR)/*.in))
7MANPAGES_GZ := $(MANPAGES_IN:.in=.gz) 11MANPAGES_GZ := $(MANPAGES_IN:.in=.gz)
@@ -19,8 +23,8 @@ $(MOD_DIR)/%: $(MOD_DIR)/%.in $(ROOT)/config.mk
19# foo.1.gz: foo.1 23# foo.1.gz: foo.1
20$(MOD_DIR)/%.gz: $(MOD_DIR)/% 24$(MOD_DIR)/%.gz: $(MOD_DIR)/%
21 @printf 'Generating %s from %s\n' $@ $< 25 @printf 'Generating %s from %s\n' $@ $<
22 @rm -f $@ 26 @$(RM) $@
23 @gzip -n9 $< 27 @$(GZIP) -n9 $<
24 28
25.PHONY: clean 29.PHONY: clean
26clean:; rm -f *.1 *.5 *.gz 30clean:; $(RM) *.1 *.5 *.gz