mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
build: standardize commands on top of makefiles
To make the makefiles look more similar.
This commit is contained in:
parent
a8f01a383a
commit
6ece8cec3d
4 changed files with 12 additions and 9 deletions
|
|
@ -1,9 +1,9 @@
|
|||
.PHONY: all
|
||||
all: firejail.bash_completion
|
||||
|
||||
ROOT = ../..
|
||||
-include $(ROOT)/config.mk
|
||||
|
||||
.PHONY: all
|
||||
all: firejail.bash_completion
|
||||
|
||||
firejail.bash_completion: firejail.bash_completion.in $(ROOT)/config.mk
|
||||
gawk -f ../man/preproc.awk -- $(MANFLAGS) < $< > $@.tmp
|
||||
sed "s|_SYSCONFDIR_|$(sysconfdir)|" < $@.tmp > $@
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
.PHONY: all
|
||||
all: firecfg.man firejail.man firejail-login.man firejail-users.man firejail-profile.man firemon.man jailcheck.man
|
||||
|
||||
ROOT = ../..
|
||||
-include $(ROOT)/config.mk
|
||||
|
||||
.PHONY: all
|
||||
all: firecfg.man firejail.man firejail-login.man firejail-users.man firejail-profile.man firemon.man jailcheck.man
|
||||
|
||||
%.man: %.txt $(ROOT)/config.mk
|
||||
gawk -f ./preproc.awk -- $(MANFLAGS) < $< > $@
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
.PHONY: all
|
||||
all: _firejail
|
||||
|
||||
ROOT = ../..
|
||||
-include $(ROOT)/config.mk
|
||||
|
||||
.PHONY: all
|
||||
all: _firejail
|
||||
|
||||
_firejail: _firejail.in $(ROOT)/config.mk
|
||||
gawk -f ../man/preproc.awk -- $(MANFLAGS) < $< > $@.tmp
|
||||
sed "s|_SYSCONFDIR_|$(sysconfdir)|" < $@.tmp > $@
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
ROOT = ..
|
||||
-include $(ROOT)/config.mk
|
||||
|
||||
TESTS=$(patsubst %/,%,$(wildcard */))
|
||||
|
||||
.PHONY: $(TESTS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue