File: Makefile.am

package info (click to toggle)
bodr 10-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 2,548 kB
  • sloc: xml: 29,107; sh: 494; makefile: 182
file content (23 lines) | stat: -rw-r--r-- 547 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

EXTRA_DIST = \
	$(xml_DATA)

CLEANFILES = 

MAINTAINERCLEANFILES = \
	Makefile.in

XMLLINT_FLAGS_XSD = --noout --schema $(top_srcdir)/schemas/cml25.xsd
XMLLINT_FLAGS_SCHEMATRON = --noout --schematron $(top_srcdir)/schemas/dictionary.schematron

xmldir = ${pkgdatadir}/dicts
xml_DATA = blueobelisk-dictionary.xml

check-local:
if HAVE_XMLLINT
	$(XMLLINT) $(XMLLINT_FLAGS_XSD) $(srcdir)/$(xml_DATA)
	$(XMLLINT) $(XMLLINT_FLAGS_SCHEMATRON) $(srcdir)/$(xml_DATA)
else
	@echo "Warning: Cannot check the XML files because 'xmllint' is missing."
endif