| 1 |
#---*- Makefile -*------------------------------------------------------- |
| 2 |
|
| 3 |
# Targets for auditing the specification |
| 4 |
|
| 5 |
.PHONY: audit |
| 6 |
|
| 7 |
audit: audit_grammars audit_authors audit_spelling audit_schemas |
| 8 |
@echo "==============================================" |
| 9 |
@echo "Audit of specification completed successfully." |
| 10 |
@echo "==============================================" |
| 11 |
|
| 12 |
|
| 13 |
.PHONY: audit_grammars |
| 14 |
|
| 15 |
audit_grammars: |
| 16 |
$(MAKE) tools |
| 17 |
$(MAKE) grammars |
| 18 |
$(MAKE) tests |
| 19 |
(exit $$($(MAKE) -s listdiff | head -n 1 | wc -l)) |
| 20 |
|
| 21 |
|
| 22 |
.PHONY: audit_authors |
| 23 |
|
| 24 |
audit_authors: test_authors |
| 25 |
diff -q AUTHORS tests/generated/AUTHORS.sorted |
| 26 |
|
| 27 |
|
| 28 |
.PHONY: audit audit_spelling |
| 29 |
|
| 30 |
audit_spelling: |
| 31 |
@echo "Spellcheck is not yet part of the audit of the specification." |
| 32 |
|
| 33 |
|
| 34 |
.PHONY: audit_schemas |
| 35 |
|
| 36 |
audit_schemas: |
| 37 |
$(MAKE) validate_schemas |