Register a target to run the tests

This commit is contained in:
Pierre Pronchery 2020-01-17 07:21:50 +01:00
parent 7a7cb24ef9
commit e050df556b

View File

@ -4,8 +4,17 @@ vendor=Desktop
config=h,sh
subdirs=data,doc,po,src,tools,tests
targets=tests
dist=Makefile,COPYING,config.h,config.sh
#targets
[tests]
type=command
command=cd tests && (if [ -n "$(OBJDIR)" ]; then $(MAKE) OBJDIR="$(OBJDIR)tests/" "$(OBJDIR)tests/embedded.log"; else $(MAKE) embedded.log; fi)
depends=all
enabled=0
phony=1
#dist
[COPYING]
install=$(PREFIX)/share/doc/$(PACKAGE)