Upgrade libressl. 1/2
[dragonfly.git] / bin / ed / test / Makefile
1 # $FreeBSD: head/bin/ed/test/Makefile 50471 1999-08-27 23:15:48Z peter $
2
3 SHELL=  /bin/sh
4 ED=     ${.OBJDIR}/ed
5
6 all: check
7         @:
8
9 check: build test
10         @if grep -h '\*\*\*' errs.o scripts.o; then :; else \
11                 echo "tests completed successfully."; \
12         fi
13
14 build: mkscripts.sh
15         @if [ -f errs.o ]; then :; else \
16                 uudecode < ascii.d.uu ; \
17                 uudecode < ascii.r.uu ; \
18                 echo "building test scripts for ${ED} ..."; \
19                 ${SHELL} mkscripts.sh ${ED}; \
20         fi
21
22 test: build ckscripts.sh
23         @echo testing ${ED} ...
24         @${SHELL} ckscripts.sh ${ED}
25
26 clean:
27         rm -f *.ed *.red *.[oz] *~ ascii.d ascii.r