forked from adallolio/imc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
28 lines (23 loc) · 1022 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
##############################################################################
# Copyright (C) 2007-2018 Laboratório de Sistemas e Tecnologia Subaquática #
# Departamento de Engenharia Electrotécnica e de Computadores #
# Rua Dr. Roberto Frias, 4200-465 Porto, Portugal #
##############################################################################
# Author: Ricardo Martins #
##############################################################################
XML := IMC.xml
XSD := IMC.xsd
validate:
@echo "* Validating $(XSD)..."
@xmllint -noout -schema 'http://www.w3.org/2001/XMLSchema.xsd' $(XSD)
@echo "* Validating $(XML)..."
@xmllint -noout $(XML)
@echo "* Validating $(XML) against $(XSD)..."
@xmllint -noout -schema $(XSD) $(XML)
doc:
@echo "* Generating documentation..."
@python doc/generate.py
clean:
@echo "* Cleaning sources..."
@$(RM) -rf doc/__pycache__ doc/reference
.PHONY: validate doc clean