diff --git a/project.conf b/project.conf index a832da6..1270d95 100644 --- a/project.conf +++ b/project.conf @@ -3,8 +3,17 @@ version=0.0.2 config=ent,h,sh subdirs=data,doc,include,src,tests,tools +targets=tests dist=COPYING,Makefile,config.ent,config.h,config.sh +#targets +[tests] +type=command +command=cd tests && (if [ -n "$(OBJDIR)" ]; then $(MAKE) OBJDIR="$(OBJDIR)tests/" "$(OBJDIR)tests/clint.log" "$(OBJDIR)tests/fixme.log" "$(OBJDIR)tests/pylint.log" "$(OBJDIR)tests/shlint.log" "$(OBJDIR)tests/tests.log"; else $(MAKE) clint.log fixme.log pylint.log shlint.log tests.log; fi) +depends=all +enabled=0 +phony=1 + #dist [COPYING] install=$(PREFIX)/share/doc/$(PACKAGE) diff --git a/tests/project.conf b/tests/project.conf index accc09a..3e1e92d 100644 --- a/tests/project.conf +++ b/tests/project.conf @@ -33,13 +33,16 @@ depends=sqlite3.sql type=script script=./pylint.sh depends=pylint.sh +enabled=0 [shlint.log] type=script script=./shlint.sh depends=shlint.sh +enabled=0 [tests.log] type=script script=./tests.sh depends=pkgconfig.sh,python.sh,$(OBJDIR)sqlite3$(SOEXT),tests.sh +enabled=0