Commit | Line | Data |
---|---|---|
208e4eea JR |
1 | # SPDX-License-Identifier: GPL-2.0-only |
2 | ||
051356a8 SM |
3 | EXTRA_DIST = common.hpp |
4 | ||
bb901ead | 5 | noinst_PROGRAMS = validate_xml extract_xml pretty_xml |
729c1fec | 6 | validate_xml_SOURCES = validate_xml.cpp |
208e4eea JR |
7 | validate_xml_CPPFLAGS = $(libxml2_CFLAGS) $(AM_CPPFLAGS) |
8 | validate_xml_LDADD = $(libxml2_LIBS) | |
9 | ||
729c1fec | 10 | extract_xml_SOURCES = extract_xml.cpp |
208e4eea JR |
11 | extract_xml_CPPFLAGS = $(libxml2_CFLAGS) $(AM_CPPFLAGS) |
12 | extract_xml_LDADD = $(libxml2_LIBS) | |
13 | ||
9617033a | 14 | pretty_xml_SOURCES = pretty_xml.cpp |
bb901ead JR |
15 | pretty_xml_CPPFLAGS = $(libxml2_CFLAGS) $(AM_CPPFLAGS) |
16 | pretty_xml_LDADD = $(libxml2_LIBS) | |
17 | ||
208e4eea JR |
18 | all-local: |
19 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ | |
20 | for script in $(EXTRA_DIST); do \ | |
21 | cp -f $(srcdir)/$$script $(builddir); \ | |
22 | done; \ | |
23 | fi | |
24 | ||
25 | clean-local: | |
26 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ | |
27 | for script in $(EXTRA_DIST); do \ | |
28 | rm -f $(builddir)/$$script; \ | |
29 | done; \ | |
30 | fi |