From 9ed5d28d157f95f665f95b0a4fa8b4028d16d1bf Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 24 Mar 2008 06:10:40 +0000 Subject: add check/test rules --- src/Makefile | 2 +- src/rc/Makefile | 2 ++ src/test/Makefile | 6 +++--- 3 files changed, 6 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/Makefile b/src/Makefile index 6cc6872d..151bced4 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,6 +1,6 @@ # Copyright 2007-2008 Roy Marples -SUBDIR= libeinfo librc rc +SUBDIR= test libeinfo librc rc MK= ../mk include ${MK}/subdir.mk diff --git a/src/rc/Makefile b/src/rc/Makefile index 2779a447..76e635dc 100644 --- a/src/rc/Makefile +++ b/src/rc/Makefile @@ -71,5 +71,7 @@ install: all ${INSTALL} -m ${PAMMODE} start-stop-daemon.pam ${DESTDIR}${PAMDIR}/start-stop-daemon; \ fi +check test:: + links: rc for l in ${ALL_LINKS}; do ln -sf rc $$l || exit $$? ; done diff --git a/src/test/Makefile b/src/test/Makefile index e1747c25..c3e879ea 100644 --- a/src/test/Makefile +++ b/src/test/Makefile @@ -1,9 +1,9 @@ all: -check: +install: + +check test:: ./symbols.sh clean: rm -f *.out - -.PHONY: all check clean -- cgit v1.2.3