diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-07-28 13:05:54 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-07-28 14:10:31 -0300 |
commit | 200f389ed0f56ba42160fe135e3701757a8df94c (patch) | |
tree | 644ebe2eccff1991e11ff1f6391df0f60e9978f1 /Makefile | |
parent | build: fix shellcheck issues in mkrpm.sh/compile.sh (diff) | |
download | firejail-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-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -347,12 +347,12 @@ deb: dist config.sh | |||
347 | ./mkdeb.sh | 347 | ./mkdeb.sh |
348 | 348 | ||
349 | .PHONY: test-compile | 349 | .PHONY: test-compile |
350 | test-compile: dist config.mk | 350 | test-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 |
354 | rpms: src/man config.mk | 354 | rpms: src/man config.sh |
355 | ./platform/rpm/mkrpm.sh $(TARNAME) $(VERSION) | 355 | ./platform/rpm/mkrpm.sh |
356 | 356 | ||
357 | .PHONY: extras | 357 | .PHONY: extras |
358 | extras: all | 358 | extras: all |