aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
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 /Makefile.in
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 'Makefile.in')
-rw-r--r--Makefile.in21
1 files changed, 3 insertions, 18 deletions
diff --git a/Makefile.in b/Makefile.in
index 18163d195..42ef2070f 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,20 +1,4 @@
1prefix=@prefix@ 1include config.mk
2exec_prefix=@exec_prefix@
3bindir=@bindir@
4libdir=@libdir@
5datarootdir=@datarootdir@
6mandir=@mandir@
7sysconfdir=@sysconfdir@
8
9VERSION=@PACKAGE_VERSION@
10NAME=@PACKAGE_NAME@
11PACKAGE_TARNAME=@PACKAGE_TARNAME@
12DOCDIR=@docdir@
13HAVE_APPARMOR=@HAVE_APPARMOR@
14HAVE_CONTRIB_INSTALL=@HAVE_CONTRIB_INSTALL@
15BUSYBOX_WORKAROUND=@BUSYBOX_WORKAROUND@
16HAVE_SUID=@HAVE_SUID@
17HAVE_MAN=@HAVE_MAN@
18 2
19ifneq ($(HAVE_MAN),no) 3ifneq ($(HAVE_MAN),no)
20MAN_TARGET = man 4MAN_TARGET = man
@@ -101,7 +85,7 @@ distclean: clean
101 $(MAKE) -C $$dir distclean; \ 85 $(MAKE) -C $$dir distclean; \
102 done 86 done
103 $(MAKE) -C test distclean 87 $(MAKE) -C test distclean
104 rm -fr Makefile autom4te.cache config.log config.status src/common.mk mkdeb.sh 88 rm -fr Makefile autom4te.cache config.log config.mk config.status src/common.mk mkdeb.sh
105 89
106realinstall: 90realinstall:
107 # firejail executable 91 # firejail executable
@@ -208,6 +192,7 @@ COPYING \
208Makefile.in \ 192Makefile.in \
209README \ 193README \
210RELNOTES \ 194RELNOTES \
195config.mk.in \
211configure \ 196configure \
212configure.ac \ 197configure.ac \
213contrib \ 198contrib \