diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2022-08-12 21:03:33 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2022-11-21 16:59:36 -0300 |
commit | e8a37ca101733c96cd017ce1baa96e29476a276d (patch) | |
tree | f9209cc3396798317986e0656a66329126a5494a /Makefile | |
parent | lib/Makefile: put all target before include of common.mk (diff) | |
download | firejail-e8a37ca101733c96cd017ce1baa96e29476a276d.tar.gz firejail-e8a37ca101733c96cd017ce1baa96e29476a276d.tar.zst firejail-e8a37ca101733c96cd017ce1baa96e29476a276d.zip |
Makefile: put the all target after variables
This should make it more consistent with the other makefiles (especially
considering the subsequent deduplication commits on this branch) and
enables it to depend on the variables in question (as variables in
dependencies are immediately expanded, at least by default).
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -7,8 +7,6 @@ endif | |||
7 | 7 | ||
8 | COMPLETIONDIRS = src/zsh_completion src/bash_completion | 8 | COMPLETIONDIRS = src/zsh_completion src/bash_completion |
9 | 9 | ||
10 | .PHONY: all | ||
11 | all: all_items mydirs $(MAN_TARGET) filters | ||
12 | APPS = src/firecfg/firecfg src/firejail/firejail src/firemon/firemon src/profstats/profstats src/jailcheck/jailcheck | 10 | APPS = src/firecfg/firecfg src/firejail/firejail src/firemon/firemon src/profstats/profstats src/jailcheck/jailcheck |
13 | SBOX_APPS = src/fbuilder/fbuilder src/ftee/ftee src/fids/fids | 11 | SBOX_APPS = src/fbuilder/fbuilder src/ftee/ftee src/fids/fids |
14 | SBOX_APPS_NON_DUMPABLE = src/fcopy/fcopy src/fldd/fldd src/fnet/fnet src/fnetfilter/fnetfilter src/fzenity/fzenity | 12 | SBOX_APPS_NON_DUMPABLE = src/fcopy/fcopy src/fldd/fldd src/fnet/fnet src/fnetfilter/fnetfilter src/fzenity/fzenity |
@@ -22,6 +20,9 @@ MANPAGES = firejail.1 firemon.1 firecfg.1 firejail-profile.5 firejail-login.5 fi | |||
22 | SECCOMP_FILTERS = seccomp seccomp.debug seccomp.32 seccomp.block_secondary seccomp.mdwx seccomp.mdwx.32 | 20 | SECCOMP_FILTERS = seccomp seccomp.debug seccomp.32 seccomp.block_secondary seccomp.mdwx seccomp.mdwx.32 |
23 | ALL_ITEMS = $(APPS) $(SBOX_APPS) $(SBOX_APPS_NON_DUMPABLE) $(MYLIBS) | 21 | ALL_ITEMS = $(APPS) $(SBOX_APPS) $(SBOX_APPS_NON_DUMPABLE) $(MYLIBS) |
24 | 22 | ||
23 | .PHONY: all | ||
24 | all: all_items mydirs $(MAN_TARGET) filters | ||
25 | |||
25 | config.mk config.sh: | 26 | config.mk config.sh: |
26 | printf 'run ./configure to generate %s\n' "$@" >&2 | 27 | printf 'run ./configure to generate %s\n' "$@" >&2 |
27 | false | 28 | false |