mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #5140] [MERGED] build: deduplicate configure-time vars into new config files #5376
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#5376
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/netblue30/firejail/pull/5140
Author: @kmk3
Created: 5/12/2022
Status: ✅ Merged
Merged: 6/13/2022
Merged by: @kmk3
Base:
master← Head:build-dedup-config-vars📝 Commits (10+)
ef9d3f3configure*: run autoconff034475configure*: list one file per line on AC_CONFIG_FILES6286678configure*: sort AC_CONFIG_FILESac1d176Makefile.in: remove redundant quotes around DISTFILES varsecfc9e1Makefile.in: list one file per line on DISTFILESe7dadcfMakefile.in: sort DISTFILES3438ef7Makefile.in: stop trying to remove config.h on distclean000f094common.mk.in: fix comment about file usage intentda6d855makefiles: define root dir and include relative to it4e8244fmakefiles: deduplicate configure-time vars into new config.mk.in📊 Changes
34 files changed (+205 additions, -129 deletions)
View changed files
📝
.gitignore(+2 -0)📝
Makefile.in(+26 -22)➕
config.mk.in(+58 -0)➕
config.sh.in(+2 -0)📝
configure(+25 -23)📝
configure.ac(+33 -5)📝
mkdeb.sh.in(+3 -2)📝
src/bash_completion/Makefile.in(+2 -1)📝
src/common.mk.in(+4 -39)📝
src/fbuilder/Makefile.in(+2 -1)📝
src/fcopy/Makefile.in(+2 -1)📝
src/fids/Makefile.in(+2 -1)📝
src/firecfg/Makefile.in(+2 -1)📝
src/firejail/Makefile.in(+2 -1)📝
src/firemon/Makefile.in(+2 -1)📝
src/fldd/Makefile.in(+2 -1)📝
src/fnet/Makefile.in(+2 -1)📝
src/fnetfilter/Makefile.in(+2 -1)📝
src/fnettrace-dns/Makefile.in(+2 -1)📝
src/fnettrace-sni/Makefile.in(+2 -1)...and 14 more files
📄 Description
makefiles: deduplicate configure-time vars into new config.mk.in
Currently, the configure-time variables (that is, the ones that assign
to placeholders, such as "@HAVE_MAN@", which are set/replaced at
configure-time) are defined on multiple files (such as on Makefile.in
and on common.mk.in).
To avoid duplication, centralize these variables on a single file
(config.mk.in) and replace all of the other definitions of them with an
include of config.mk.
mkdeb.sh.in: move configure-time vars into new config.sh.in
For better organization and so that they can be used by other shell
scripts by just sourcing config.sh.
Relates to #646.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.