diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2024-02-22 10:09:26 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2024-02-29 08:52:24 -0300 |
commit | c9531d95ed3f12c382a0292e9eb508a9b9c96532 (patch) | |
tree | 4fb01ef4456f41906bf10831b8d8849e719f9a79 /Makefile | |
parent | build: use generic wildcard on package install (diff) | |
download | firejail-c9531d95ed3f12c382a0292e9eb508a9b9c96532.tar.gz firejail-c9531d95ed3f12c382a0292e9eb508a9b9c96532.tar.zst firejail-c9531d95ed3f12c382a0292e9eb508a9b9c96532.zip |
build: add print-version target and use in CI
To reduce TARNAME hardcoding.
Added on commit 6a89ab023 ("ci: run firejail --version after
build/install", 2022-05-16) / PR #5148.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -391,6 +391,10 @@ codespell: | |||
391 | print-env: | 391 | print-env: |
392 | ./ci/printenv.sh | 392 | ./ci/printenv.sh |
393 | 393 | ||
394 | .PHONY: print-version | ||
395 | print-version: config.mk | ||
396 | command -V $(TARNAME) && $(TARNAME) --version | ||
397 | |||
394 | # | 398 | # |
395 | # make test | 399 | # make test |
396 | # | 400 | # |