diff --git a/project.conf b/project.conf index 012322f..461d41c 100644 --- a/project.conf +++ b/project.conf @@ -3,8 +3,17 @@ version=0.1.0 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) diff --git a/tests/project.conf b/tests/project.conf index eeb3955..12cbb5c 100644 --- a/tests/project.conf +++ b/tests/project.conf @@ -1 +1,11 @@ +targets=embedded.log dist=Makefile,embedded.sh + +#targets +[embedded.log] +type=script +script=./embedded.sh +enabled=0 +#XXX keep the output +phony=1 +depends=embedded.sh