diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2022-06-23 02:51:52 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2022-06-30 05:32:07 -0300 |
commit | 83ae0ed8379e2e00815cbe60e2e512665e48c1ed (patch) | |
tree | 2f7abf48abad397bffcfe6add4d949b3557df95b /src/man | |
parent | build: reduce autoconf input files from 32 to 2 (diff) | |
download | firejail-83ae0ed8379e2e00815cbe60e2e512665e48c1ed.tar.gz firejail-83ae0ed8379e2e00815cbe60e2e512665e48c1ed.tar.zst firejail-83ae0ed8379e2e00815cbe60e2e512665e48c1ed.zip |
makefiles: stop failing when config.mk does not exist
This allows running `make clean` and `make distclean` (and possibly
others) without having to run ./configure beforehand.
Note that some packaging-related targets still depend on the existence
of generated files. For example:
* dist: config.mk
* deb: config.sh
Commands used to search and replace:
$ git grep -Elz 'include *([^ ]*/)?config.mk' | xargs -0 -I '{}' \
sh -c "printf '%s\n' \
\"\$(sed -E 's|^include *(([^ ]*/)?config.mk)|-include \1|' '{}')\" >'{}'"
Relates to #5140.
Diffstat (limited to 'src/man')
-rw-r--r-- | src/man/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/man/Makefile b/src/man/Makefile index c83a4b7eb..b786e1ca9 100644 --- a/src/man/Makefile +++ b/src/man/Makefile | |||
@@ -2,7 +2,7 @@ | |||
2 | all: firecfg.man firejail.man firejail-login.man firejail-users.man firejail-profile.man firemon.man jailcheck.man | 2 | all: firecfg.man firejail.man firejail-login.man firejail-users.man firejail-profile.man firemon.man jailcheck.man |
3 | 3 | ||
4 | ROOT = ../.. | 4 | ROOT = ../.. |
5 | include $(ROOT)/config.mk | 5 | -include $(ROOT)/config.mk |
6 | 6 | ||
7 | %.man: %.txt | 7 | %.man: %.txt |
8 | gawk -f ./preproc.awk -- $(MANFLAGS) < $< > $@ | 8 | gawk -f ./preproc.awk -- $(MANFLAGS) < $< > $@ |