From 41752cbef7b9e647feaa4a889c29fe76ca3a4c9f Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Thu, 7 Sep 2017 03:27:55 +0200 Subject: Add interface definition for cron and enable templates building in the makefiles. --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 000000000..2c7b28c56 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +TMPL_DIR := templates + +.PHONY: interface_definitions +.ONESHELL: +interface_definitions: + find $(CURDIR)/interface-definitions/ -type f | xargs -I {} $(CURDIR)/scripts/build-command-templates {} $(CURDIR)/schema/interface_definition.rng $(TMPL_DIR) + +.PHONY: all +all: interface_definitions + +.PHONY: clean +clean: + rm -rf $(TMPL_DIR)/* -- cgit v1.2.3