diff options
author | 2024-05-29 21:27:50 +0000 | |
---|---|---|
committer | 2024-05-29 21:27:50 +0000 | |
commit | abc6996cc5993fc3e6cc8835d0c2eddb8aa9c14d (patch) | |
tree | d3417697b69c1af51b39c2152a2dd65274380aad /src/bash_completion | |
parent | profiles: libreoffice: support signing documents with GPG (#6353) (diff) | |
parent | build: allow overriding common tools (diff) | |
download | firejail-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/bash_completion')
-rw-r--r-- | src/bash_completion/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/bash_completion/Makefile b/src/bash_completion/Makefile index c7ef6afc6..c06323f64 100644 --- a/src/bash_completion/Makefile +++ b/src/bash_completion/Makefile | |||
@@ -2,14 +2,17 @@ | |||
2 | ROOT = ../.. | 2 | ROOT = ../.. |
3 | -include $(ROOT)/config.mk | 3 | -include $(ROOT)/config.mk |
4 | 4 | ||
5 | GAWK ?= gawk | ||
6 | RM ?= rm -f | ||
7 | |||
5 | .PHONY: all | 8 | .PHONY: all |
6 | all: firejail.bash_completion | 9 | all: firejail.bash_completion |
7 | 10 | ||
8 | firejail.bash_completion: firejail.bash_completion.in $(ROOT)/config.mk | 11 | firejail.bash_completion: firejail.bash_completion.in $(ROOT)/config.mk |
9 | $(GAWK) -f ../man/preproc.awk -- $(MANFLAGS) < $< > $@.tmp | 12 | $(GAWK) -f ../man/preproc.awk -- $(MANFLAGS) < $< > $@.tmp |
10 | sed "s|_SYSCONFDIR_|$(sysconfdir)|" < $@.tmp > $@ | 13 | sed "s|_SYSCONFDIR_|$(sysconfdir)|" < $@.tmp > $@ |
11 | rm $@.tmp | 14 | $(RM) $@.tmp |
12 | 15 | ||
13 | .PHONY: clean | 16 | .PHONY: clean |
14 | clean: | 17 | clean: |
15 | rm -fr firejail.bash_completion | 18 | $(RM) -r firejail.bash_completion |