Properly handle an error return from udev2dev().
[dragonfly.git] / usr.sbin / ctm / mkCTM / Makefile
1
2 PROG=   mkctm
3 SRCS=   mkctm.c
4 LDADD= -lmd
5 NOMAN=  1
6 CFLAGS= -g -Wall
7
8 test:   mkctm
9         rm -f tst.out*
10         time ./mkctm -v -v /3c/210src  /a/r1/usr/src \
11                 2>a | md5 -p > /a/tst.out 
12         ls -l /a/tst.out
13         gzip -9 -v /a/tst.out
14         ls -l /a/tst.out.gz
15         # cd /usr/src/release && ctm -c -v -v  ${.CURDIR}/tst.out
16
17 test1:  mkctm
18         rm -f tst.out*
19         time ./mkctm -v -v /3c/210src  /home/ncvs/src \
20                 2> b | md5 -p > /a/tst2.out 
21         ls -l /a/tst2.out
22         gzip -9 -v /a/tst2.out
23         ls -l /a/tst2.out.gz
24
25 .include <bsd.prog.mk>