aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: f5a34a08dc03cfab4e6e06875333eb235ee66664 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
SUBDIR=	lib bin sbin usr.bin usr.sbin libexec share

ifeq (clean,$(filter clean,$(MAKECMDGOALS)))
SUBDIR+=regress
endif

all:
clean:
insteall:

regression-tests:
	@echo "Running regression tests..." \
	&& export PATH=$$PWD/dest/bin:$$PWD/dest/sbin:$$PATH \
	&& cd regress \
	&& $(MAKE) -I$(TOPDIR) -I$(TOPDIR)/mk depend \
	&& exec $(MAKE) -I$(TOPDIR) -I$(TOPDIR)/mk SHELL=/bin/oksh regress

.PHONY: all clean install regression-tests

include mk/bsd.subdir.mk