-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
49 lines (36 loc) · 1.4 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
41
42
43
44
45
46
47
48
49
# ivoatex Makefile. The ivoatex/README for the targets available.
# short name of your document (edit $DOCNAME.tex; would be like RegTAP)
DOCNAME = VOResource
# count up; you probably do not want to bother with versions <1.0
DOCVERSION = 1.2
# Publication date, ISO format; update manually for "releases"
DOCDATE = 2024-10-15
# What is it you're writing: NOTE, WD, PR, or REC
DOCTYPE = PR
# Source files for the TeX document (but the main file must always
# be called $(DOCNAME).tex
SOURCES = $(DOCNAME).tex example-voresource.xml role_diagram.pdf gitmeta.tex
# List of pixel image files to be included in submitted package
FIGURES = role_diagram.svg
# List of PDF figures (for vector graphics)
VECTORFIGURES =
# Additional files to distribute (e.g., CSS, schema files, examples...)
AUX_FILES = VOResource-v1.2.xsd
-include ivoatex/Makefile
ivoatex/Makefile:
@echo "*** ivoatex submodule not found. Initialising submodules."
@echo
git submodule update --init
STILTS ?= stilts
SCHEMA_FILE=VOResource-v1.2.xsd
# These tests need stilts >3.4 and xmlstarlet
test:
@sh test-assertions.sh
@$(STILTS) xsdvalidate $(SCHEMA_FILE)
@$(STILTS) xsdvalidate \
schemaloc="http://www.ivoa.net/xml/VOResource/v1.0=$(SCHEMA_FILE)" \
example-voresource.xml
@$(STILTS) xsdvalidate \
schemaloc="http://www.ivoa.net/xml/VOResource/v1.0=$(SCHEMA_FILE)" \
test-data/valid-record.xml