[Qa-jenkins-scm] [jenkins.debian.net] 10/10: makefile for test XML

Holger Levsen holger at moszumanska.debian.org
Fri Dec 11 22:58:59 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit c9a9a4a44a10ec32cf2e9bf65b8740426511059d
Author: Philip Hands <phil at hands.com>
Date:   Thu Jun 25 08:40:52 2015 +0100

    makefile for test XML
---
 job-cfg/Makefile | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/job-cfg/Makefile b/job-cfg/Makefile
new file mode 100644
index 0000000..bf324c9
--- /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))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list