File: Makefile.am

package info (click to toggle)
xmltooling 1.6.0-4+deb9u2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,928 kB
  • sloc: cpp: 22,289; sh: 11,065; makefile: 337; xml: 170; ansic: 49
file content (32 lines) | stat: -rw-r--r-- 640 bytes parent folder | download | duplicates (6)
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
AUTOMAKE_OPTIONS = foreign

schemafiles = \
	soap-envelope.xsd \
	xenc-schema.xsd \
	xenc11-schema.xsd \
	xmldsig-core-schema.xsd \
	xmldsig11-schema.xsd \
	xml.xsd \
	xmltooling.xsd

pkgxml_DATA = \
	catalog.xml \
	$(schemafiles)

#
# Some of these need building
#
do-build-file:
	rm -f ${FILE}.tmp
	sed < ${srcdir}/${FILE}.in > ${FILE}.tmp \
	    -e 's:@-PKGXMLDIR-@:${pkgxmldir}:g'
	cmp -s ${FILE} ${FILE}.tmp || mv ${FILE}.tmp ${FILE}
	rm -f ${FILE}.tmp

catalog.xml: ${srcdir}/catalog.xml.in Makefile ${top_builddir}/config.status
	$(MAKE) do-build-file FILE=$@

CLEANFILES = catalog.xml

EXTRA_DIST = catalog.xml.in \
	$(schemafiles)