summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2024-02-11 01:02:51 +0100
committerAlejandro Colomar <alx@kernel.org>2024-02-11 01:30:01 +0100
commit43d49e203949c49915bf702fe24c0ee58ab5fe1f (patch)
tree6f080dd6399a1f3bda002528ef083610a8b58feb
parent1e9ea4f4aaeebea720b91481c0478eec3b691b51 (diff)
downloadliba2i-43d49e203949c49915bf702fe24c0ee58ab5fe1f.tar.gz
GNUmakefile: extra: Add target that makes more than 'all'
'dist' is unavailable in release tarballs, so keep 'all' as a target that can be run from those, and 'extra' is a new target that does more than that: it also makes a release tarball and checks it. Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--GNUmakefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index a700705..5ef11b8 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -22,7 +22,12 @@ MAKEFILEDIR := $(DATAROOTDIR)/mk
.PHONY: all
-all: lint build check dist
+all: lint build check
+ @:
+
+
+.PHONY: extra
+extra: all dist distcheck
@:
@@ -30,7 +35,8 @@ all: lint build check dist
help:
$(info Targets:)
$(info )
- $(info all Alias for "lint build check dist")
+ $(info all Alias for "lint build check")
+ $(info extra Alias for "all dist distcheck")
$(info )
$(info clean Remove $$(builddir))
$(info )