diff --git a/project.conf b/project.conf index 5d10e6c..bc37a89 100644 --- a/project.conf +++ b/project.conf @@ -3,8 +3,17 @@ version=0.3.0 config=h,sh subdirs=data,doc,include,po,src,tests +targets=tests dist=COPYING,Makefile,README.md,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/xmllint.log"; else $(MAKE) clint.log fixme.log xmllint.log; fi) +depends=all +enabled=0 +phony=1 + #dist [COPYING] install=$(PREFIX)/share/doc/Mixer diff --git a/tests/project.conf b/tests/project.conf index 994e450..32783d9 100644 --- a/tests/project.conf +++ b/tests/project.conf @@ -1,18 +1,22 @@ targets=clint.log,fixme.log,xmllint.log dist=Makefile,clint.sh,embedded.sh,fixme.sh,xmllint.sh +#targets [clint.log] type=script script=./clint.sh flags=-O CFLAGS="-I/usr/include `pkg-config --cflags libDesktop`" +enabled=0 depends=clint.sh [fixme.log] type=script script=./fixme.sh +enabled=0 depends=fixme.sh [xmllint.log] type=script script=./xmllint.sh +enabled=0 depends=xmllint.sh