mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-27 14:03:36 +03:00
doc: Don't install example code
This commit is contained in:
parent
5f75c9560f
commit
bffef46c4c
@ -396,12 +396,6 @@ pkgconfig_DATA = libxml-2.0.pc
|
||||
cmakedir = $(libdir)/cmake/libxml2
|
||||
cmake_DATA = libxml2-config.cmake
|
||||
|
||||
#
|
||||
# Install the tests program sources as examples
|
||||
#
|
||||
examplesdir = $(docdir)/examples
|
||||
examples_DATA = xmllint.c
|
||||
|
||||
tst: tst.c
|
||||
$(CC) $(CFLAGS) -Iinclude -o tst tst.c .libs/libxml2.a -lpthread -lm -lz -llzma
|
||||
|
||||
|
@ -814,8 +814,6 @@ configure_file(
|
||||
|
||||
install_data(files('libxml.m4'), install_dir: dir_data / 'aclocal')
|
||||
|
||||
install_data(files('xmllint.c'), install_dir: dir_doc / 'examples')
|
||||
|
||||
if support_tls == false
|
||||
message('===============================================================')
|
||||
message('WARNING: Your C compiler appears to not support thread-local')
|
||||
|
@ -1,6 +1,3 @@
|
||||
exampledir = $(docdir)/python/examples
|
||||
dist_example_DATA = $(PYTESTS) $(XMLS) setup_test.py
|
||||
|
||||
PYTESTS= \
|
||||
build.py \
|
||||
attribs.py \
|
||||
@ -56,6 +53,8 @@ XMLS= \
|
||||
invalid.xml \
|
||||
test.dtd
|
||||
|
||||
EXTRA_DIST = $(PYTESTS) $(XMLS) setup_test.py meson.build
|
||||
|
||||
CLEANFILES = core tmp.xml *.pyc
|
||||
|
||||
if WITH_PYTHON
|
||||
@ -75,5 +74,3 @@ check-local:
|
||||
fi ; \
|
||||
done)
|
||||
endif
|
||||
|
||||
EXTRA_DIST = meson.build
|
||||
|
@ -56,8 +56,3 @@ xml_files = files(
|
||||
'tst.xml',
|
||||
'valid.xml',
|
||||
)
|
||||
|
||||
install_data(
|
||||
[python_test_files, xml_files, files('setup_test.py')],
|
||||
install_dir: dir_doc / 'python' / 'examples',
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user