From 76bd5ad0f8347bc111c30f67b2eb151c2e5870ed Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Wed, 12 Jul 2023 01:55:07 -0300 Subject: build: simplify code related to man pages Simplify the main targets and use wildcards instead of repeating the filenames manually. Also, restore the `man` target and building only when `HAVE_MAN` is enabled. Note: Make automatically removes intermediate files (.1 and .5), so in general only the .gz files have to be cleaned. Commands used to rename the man pages: cd src/man git mv firecfg.txt firecfg.1.in git mv firejail-login.txt firejail-login.5.in git mv firejail-profile.txt firejail-profile.5.in git mv firejail-users.txt firejail-users.5.in git mv firejail.txt firejail.1.in git mv firemon.txt firemon.1.in git mv jailcheck.txt jailcheck.1.in This is kind of a follow-up to commit 9e206b7f2 ("rework src/man Makefile", 2023-07-07). --- RELNOTES | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'RELNOTES') diff --git a/RELNOTES b/RELNOTES index 0244d9741..dfa62a7c0 100644 --- a/RELNOTES +++ b/RELNOTES @@ -21,8 +21,6 @@ firejail (0.9.73) baseline; urgency=low #5618) * bugfix: fix --hostname and --hosts-file commands * bugfix: arp.c: ensure positive timeout on select(2) (#5806) - * build: fixed problem with seccomp filters and man pages built every - time when running make * build: auto-generate syntax files (#5627) * build: mark all phony targets as such (#5637) * build: mkdeb.sh: pass all arguments to ./configure (#5654) @@ -32,6 +30,9 @@ firejail (0.9.73) baseline; urgency=low * build: remove -mretpoline and NO_EXTRA_CFLAGS (#5859) * build: disable all built-in implicit make rules (#5864) * build: organize and standardize make vars and targets (#5866) + * build: fix seccomp filters and man pages always being rebuilt when running + make + * build: simplify code related to man pages (#5898) * ci: always update the package db before installing packages (#5742) * ci: fix codeql unable to download its own bundle (#5783) * ci: split configure/build/install commands on gitlab (#5784) -- cgit v1.2.3-70-g09d2