From c561bde028d35fee7911ed6857d3a65cfa4b5088 Mon Sep 17 00:00:00 2001 From: merakor Date: Sat, 5 Sep 2020 09:56:12 +0000 Subject: Makefile: add tests FossilOrigin-Name: 3523397385ce9810fdbae3447bc0794943b27019581bb5126cd5452608322adf --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index e3cebcf..64b914d 100644 --- a/Makefile +++ b/Makefile @@ -13,6 +13,12 @@ all: ${BIN} clean: rm -f ${BIN} ${OBJ} +test: ${BIN} + bin/cpt-stat bin + bin/cpt-stat Makefile + bin/cpt-readlink /bin/sh + shellcheck -P src -x -f gcc src/* contrib/* + install-bin: ${BIN} for bin in ${BIN}; do \ install -Dm755 $${bin} ${DESTDIR}${BINDIR}/$${bin##*/}; done -- cgit v1.2.3