mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-03 17:11:32 +00:00
2787321c9f
Got rid of a couple of binary files by uuencoding. 49 more to go. BTW: ed(1) seems to have an exit(2) problem, 5 tests fail.
26 lines
495 B
Makefile
26 lines
495 B
Makefile
SHELL= /bin/sh
|
|
ED= ../obj/ed
|
|
|
|
all: check
|
|
@:
|
|
|
|
check: build test
|
|
@if grep -h '\*\*\*' errs.o scripts.o; then :; else \
|
|
echo "tests completed successfully."; \
|
|
fi
|
|
|
|
build: mkscripts.sh
|
|
@if [ -f errs.o ]; then :; else \
|
|
uudecode < ascii.d.uu ; \
|
|
uudecode < ascii.r.uu ; \
|
|
echo "building test scripts for $(ED) ..."; \
|
|
$(SHELL) mkscripts.sh $(ED); \
|
|
fi
|
|
|
|
test: build ckscripts.sh
|
|
@echo testing $(ED) ...
|
|
@$(SHELL) ckscripts.sh $(ED)
|
|
|
|
clean:
|
|
rm -f *.ed *.red *.[oz] *~ ascii.d ascii.r
|