From c9a9a4a44a10ec32cf2e9bf65b8740426511059d Mon Sep 17 00:00:00 2001 From: Philip Hands Date: Thu, 25 Jun 2015 08:40:52 +0100 Subject: makefile for test XML --- job-cfg/Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 job-cfg/Makefile diff --git a/job-cfg/Makefile b/job-cfg/Makefile new file mode 100644 index 00000000..bf324c95 --- /dev/null +++ b/job-cfg/Makefile @@ -0,0 +1,20 @@ + + +PYYAMLS := $(basename $(wildcard *.yaml.py)) + +YAMLS := $(wildcard *.yaml) $(PYYAMLS) + +XMLS := $(patsubst %.yaml,%.xml,$(YAMLS)) + +OUTPUTS := $(PYYAMLS) $(XMLS) + +all: $(OUTPUTS) + +%.yaml: %.yaml.py + ./$< > $@ + +%.xml: %.yaml + jenkins-jobs test $< > $@ + +clean: + rm $(sort $(OUTPUTS)) -- cgit v1.2.3-70-g09d2