Run xmllint on cfg/cppcheck-cfg.rng
This commit is contained in:
parent
1d441f64c1
commit
0024c3e446
1
Makefile
1
Makefile
|
@ -365,6 +365,7 @@ ConfigFilesCHECKED := $(patsubst %.cfg,%.checked,$(ConfigFiles))
|
|||
%.checked:%.cfg
|
||||
xmllint --noout --relaxng cfg/cppcheck-cfg.rng $<
|
||||
validateCFG: ${ConfigFilesCHECKED}
|
||||
xmllint --noout cfg/cppcheck-cfg.rng
|
||||
|
||||
# Validation of platforms files:
|
||||
PlatformFiles := $(wildcard platforms/*.xml)
|
||||
|
|
|
@ -468,7 +468,8 @@ int main(int argc, char **argv)
|
|||
fout << ".PHONY: validateCFG\n";
|
||||
fout << "%.checked:%.cfg\n";
|
||||
fout << "\txmllint --noout --relaxng cfg/cppcheck-cfg.rng $<\n";
|
||||
fout << "validateCFG: ${ConfigFilesCHECKED}\n\n";
|
||||
fout << "validateCFG: ${ConfigFilesCHECKED}\n";
|
||||
fout << "\txmllint --noout cfg/cppcheck-cfg.rng\n\n";
|
||||
fout << "# Validation of platforms files:\n";
|
||||
fout << "PlatformFiles := $(wildcard platforms/*.xml)\n";
|
||||
fout << "PlatformFilesCHECKED := $(patsubst %.xml,%.checked,$(PlatformFiles))\n";
|
||||
|
|
Loading…
Reference in New Issue