aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-07-28 13:05:54 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-07-28 14:10:31 -0300
commit200f389ed0f56ba42160fe135e3701757a8df94c (patch)
tree644ebe2eccff1991e11ff1f6391df0f60e9978f1 /Makefile
parentbuild: fix shellcheck issues in mkrpm.sh/compile.sh (diff)
downloadfirejail-200f389ed0f56ba42160fe135e3701757a8df94c.tar.gz
firejail-200f389ed0f56ba42160fe135e3701757a8df94c.tar.zst
firejail-200f389ed0f56ba42160fe135e3701757a8df94c.zip
build: use config.sh in more scripts
This removes the need to manually pass variables such as `$(TARNAME)` and `$(VERSION)` to shell scripts in the root Makefile. Relates to #5140.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 03ae71026..3055e226a 100644
--- a/Makefile
+++ b/Makefile
@@ -347,12 +347,12 @@ deb: dist config.sh
347 ./mkdeb.sh 347 ./mkdeb.sh
348 348
349.PHONY: test-compile 349.PHONY: test-compile
350test-compile: dist config.mk 350test-compile: dist config.sh
351 cd test/compile; ./compile.sh $(TARNAME)-$(VERSION) 351 cd test/compile; ./compile.sh
352 352
353.PHONY: rpms 353.PHONY: rpms
354rpms: src/man config.mk 354rpms: src/man config.sh
355 ./platform/rpm/mkrpm.sh $(TARNAME) $(VERSION) 355 ./platform/rpm/mkrpm.sh
356 356
357.PHONY: extras 357.PHONY: extras
358extras: all 358extras: all