commit: dd72f5f57aee037d93922129018a8c120fc49237
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 14 18:33:53 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 14 18:34:29 2024 +0000
URL: https://gitweb.gentoo.org/proj/elt-patches.git/commit/?id=dd72f5f5
Makefile: add trivial check target
Signed-off-by: Sam James <sam <AT> gentoo.org>
Makefile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
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)