it’s not nice to spew into syslog just for calling commands
[alioth/cvs.git] / Makefile.bsd-wrapper
index ecbdba4..1fff601 100644 (file)
@@ -1,4 +1,4 @@
-# $MirOS: src/gnu/usr.bin/cvs/Makefile.bsd-wrapper,v 1.34 2016/10/22 16:13:34 tg Exp $
+# $MirOS: src/gnu/usr.bin/cvs/Makefile.bsd-wrapper,v 1.36 2016/11/09 03:04:12 tg Exp $
 # $OpenBSD: Makefile.bsd-wrapper,v 1.44 2004/01/02 09:01:24 millert Exp $
 
 # MirOS patchlevel tracked in configure{.in,}
@@ -54,4 +54,10 @@ post-install:
            ${.CURDIR}/contrib/{rcs2log.1,sandbox_status.man} \
            ${DESTDIR}/usr/libexec/cvs/contrib/
 
+regress:
+       chmod +x ${.CURDIR}/lib/test-getdate.sh
+       cd ${FSFOBJDIR} && exec env \
+           GETDATE_LD_PRELOAD=/usr/lib/libposixtz.so ${FSFMAKE} check
+       -chmod -x ${.CURDIR}/lib/test-getdate.sh
+
 .include <bsd.cfwrap.mk>