Register a target for tests

This commit is contained in:
Pierre Pronchery 2019-12-18 05:21:06 +01:00
parent c5683a3403
commit 0414da132b

View File

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