aboutsummaryrefslogtreecommitdiffstats
path: root/src/libtracelog
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2022-05-04 21:16:14 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2022-06-12 16:08:47 -0300
commit4e8244fb81e17840cf1e0c2410683992c25867a9 (patch)
tree4ac5c0a92292e607bb3b12afa06e6f9bf9da8e69 /src/libtracelog
parentmakefiles: define root dir and include relative to it (diff)
downloadfirejail-4e8244fb81e17840cf1e0c2410683992c25867a9.tar.gz
firejail-4e8244fb81e17840cf1e0c2410683992c25867a9.tar.zst
firejail-4e8244fb81e17840cf1e0c2410683992c25867a9.zip
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.
Diffstat (limited to 'src/libtracelog')
-rw-r--r--src/libtracelog/Makefile.in7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/libtracelog/Makefile.in b/src/libtracelog/Makefile.in
index aea1b11f2..52d4bcb08 100644
--- a/src/libtracelog/Makefile.in
+++ b/src/libtracelog/Makefile.in
@@ -1,8 +1,5 @@
1CC=@CC@ 1ROOT = ../..
2PREFIX=@prefix@ 2include $(ROOT)/config.mk
3VERSION=@PACKAGE_VERSION@
4NAME=@PACKAGE_NAME@
5HAVE_FATAL_WARNINGS=@HAVE_FATAL_WARNINGS@
6 3
7H_FILE_LIST = $(sort $(wildcard *.h)) 4H_FILE_LIST = $(sort $(wildcard *.h))
8C_FILE_LIST = $(sort $(wildcard *.c)) 5C_FILE_LIST = $(sort $(wildcard *.c))