diff --git a/src/mako/deps.mako b/src/mako/deps.mako index 6caac48c682..544707d499e 100644 --- a/src/mako/deps.mako +++ b/src/mako/deps.mako @@ -1,11 +1,15 @@ -<%api_info=[]%> +# DO NOT EDIT ! +# This file was generated automatically by '${self.uri}' +# DO NOT EDIT ! + +<%api_info=[]%>\ % for a in api.list: <% gen_root = directories.output + '/' + a.name + '_' + a.version api_name = a.name + a.version api_clean = api_name + '-clean' api_info.append((api_name, api_clean, gen_root)) -%> +%>\ ${gen_root}: ${directories.api_base}/${a.name}/${a.version}/${a.name}-api.json ${SHARED_INFO_FILE} ${api_name}: ${gen_root} @echo TODO ${api_name} command diff --git a/src/pyra/deps.pyra b/src/pyra/deps.pyra deleted file mode 100644 index 9dab692a3be..00000000000 --- a/src/pyra/deps.pyra +++ /dev/null @@ -1,24 +0,0 @@ -$!setvar("api_info", "[]")!$#! - - -$!setvar("gen_root", "directories.output + '/' + a.name + '_' + a.version")!$#! -$!setvar("api_name", "a.name+a.version")!$#! -$!setvar("api_clean", "api_name+'-clean'")!$#! -$!gen_root!$: $!directories.api_base!$/$!a.name!$/$!a.version!$/$!a.name!$-api.json -$!api_name!$: $!gen_root!$ -$!api_clean!$: - rm -Rf $!gen_root!$ -$!api_info.append((api_name, api_clean, gen_root))!$#! - - - -.PHONY += $(.PHONY) $!' '.join(a[0] for a in api_info)!$ $!' '.join(a[1] for a in api_info)!$ - -help-api: - - $(info $!a[0]!$ - build the $!a[0]!$ api) - $(info $!a[1]!$ - clean all generated files of the $!a[0]!$ api) - - - -clean-api: $!' '.join(a[1] for a in api_info)!$