summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-01-14 18:33:53 +0000
committerSam James <sam@gentoo.org>2024-01-14 18:34:29 +0000
commitdd72f5f57aee037d93922129018a8c120fc49237 (patch)
tree0c6eb76cedd86ed4cb2643426c2a1a34c3470e29
parentpatches: specs: add upstream commit link (diff)
downloadelt-patches-dd72f5f57aee037d93922129018a8c120fc49237.tar.gz
elt-patches-dd72f5f57aee037d93922129018a8c120fc49237.tar.bz2
elt-patches-dd72f5f57aee037d93922129018a8c120fc49237.zip
Makefile: add trivial check target
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 90ddc87..badd60b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
DESTDIR =
@@ -26,6 +26,9 @@ eltpatch: eltpatch.in
clean:
rm -f eltpatch
+check: eltpatch
+ cd tests && ./setup.sh && ./run.sh
+
install-bin: eltpatch
install -d $(DESTDIR)$(bindir)
install -m0755 $< $(DESTDIR)$(bindir)