This repository has been archived by the owner on Mar 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Makefile
40 lines (35 loc) · 2.24 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
all:
make tests
make build
make clean
tests:
xmllint --noout --schema test-xsds/epp.xsd examples/check-command.xml
xmllint --noout --schema test-xsds/epp.xsd examples/check-response.xml
xmllint --noout --schema test-xsds/epp.xsd examples/transfer-query-response.xml
xmllint --noout --schema test-xsds/epp.xsd examples/create-command.xml
xmllint --noout --schema test-xsds/epp.xsd examples/create-response.xml
xmllint --noout --schema test-xsds/epp.xsd examples/renew-command.xml
xmllint --noout --schema test-xsds/epp.xsd examples/renew-response.xml
xmllint --noout --schema test-xsds/epp.xsd examples/transfer-command.xml
xmllint --noout --schema test-xsds/epp.xsd examples/transfer-response.xml
xmllint --noout --schema test-xsds/epp.xsd examples/update-command.xml
xmllint --noout --schema test-xsds/epp.xsd examples/update-response.xml
xmllint --noout --schema test-xsds/epp.xsd examples/delete-response.xml
build:
perl -pi -e 's/^(.)/C: \1/' < examples/check-command.xml > examples/check-command.txt
perl -pi -e 's/^(.)/S: \1/' < examples/check-response.xml > examples/check-response.txt
perl -pi -e 's/^(.)/S: \1/' < examples/transfer-query-response.xml > examples/transfer-query-response.txt
perl -pi -e 's/^(.)/C: \1/' < examples/create-command.xml > examples/create-command.txt
perl -pi -e 's/^(.)/S: \1/' < examples/create-response.xml > examples/create-response.txt
perl -pi -e 's/^(.)/C: \1/' < examples/renew-command.xml > examples/renew-command.txt
perl -pi -e 's/^(.)/S: \1/' < examples/renew-response.xml > examples/renew-response.txt
perl -pi -e 's/^(.)/C: \1/' < examples/transfer-command.xml > examples/transfer-command.txt
perl -pi -e 's/^(.)/S: \1/' < examples/transfer-response.xml > examples/transfer-response.txt
perl -pi -e 's/^(.)/C: \1/' < examples/update-command.xml > examples/update-command.txt
perl -pi -e 's/^(.)/S: \1/' < examples/update-response.xml > examples/update-response.txt
perl -pi -e 's/^(.)/S: \1/' < examples/delete-response.xml > examples/delete-response.txt
xmllint --xinclude draft-ietf-regext-epp-fees.xml.in > draft-ietf-regext-epp-fees.xml
xml2rfc draft-ietf-regext-epp-fees.xml draft-ietf-regext-epp-fees.txt
xml2rfc draft-ietf-regext-epp-fees.xml draft-ietf-regext-epp-fees.html
clean:
rm -vf examples/*txt