X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=Makefile.am;h=b48b122f35e18c49b7b8fd1f25c6a8e399206d52;hp=004f5e743a2a31d4d34fc2af3399462c9e78968b;hb=81577dc22887debaf9b19bf1034a2887fb9069c7;hpb=302c9d6c8b4f778240c29a08060c037c6b6211a0 diff --git a/Makefile.am b/Makefile.am index 004f5e743..b48b122f3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1243,7 +1243,8 @@ tests += \ test-xml \ test-architecture \ test-socket-util \ - test-fdset + test-fdset \ + test-conf-files EXTRA_DIST += \ test/sched_idle_bad.service \ @@ -1600,6 +1601,12 @@ test_sched_prio_LDADD = \ libsystemd-core.la \ $(RT_LIBS) +test_conf_files_SOURCES = \ + src/test/test-conf-files.c + +test_conf_files_LDADD = \ + libsystemd-shared.la + # ------------------------------------------------------------------------------ ## .PHONY so it always rebuilds it .PHONY: coverage lcov-run lcov-report coverage-sync @@ -1821,6 +1828,9 @@ EXTRA_DIST += \ units/systemd-sysusers.service.in \ sysusers.d/systemd.conf.in +CLEANFILES += \ + sysusers.d/systemd.conf + INSTALL_DIRS += \ $(sysusersdir) endif @@ -2611,6 +2621,7 @@ libsystemd_network_la_SOURCES = \ src/libsystemd-network/sd-icmp6-nd.c \ src/libsystemd-network/sd-dhcp6-client.c \ src/libsystemd-network/dhcp6-internal.h \ + src/libsystemd-network/dhcp6-protocol.h \ src/libsystemd-network/dhcp6-network.c \ src/libsystemd-network/dhcp6-option.c \ src/libsystemd-network/dhcp6-lease-internal.h \ @@ -2666,7 +2677,7 @@ test_ipv4ll_LDADD = \ test_icmp6_rs_SOURCES = \ src/systemd/sd-dhcp6-client.h \ - src/libsystemd-network/sd-icmp6-nd.h \ + src/systemd/sd-icmp6-nd.h \ src/libsystemd-network/dhcp6-internal.h \ src/libsystemd-network/test-icmp6-rs.c @@ -4763,10 +4774,12 @@ _journal_la_LIBADD = \ id128_la_SOURCES = \ src/python-systemd/id128.c \ - src/python-systemd/id128-constants.h \ src/python-systemd/pyutil.c \ src/python-systemd/pyutil.h +nodist_id128_la_SOURCES = \ + src/python-systemd/id128-constants.h + id128_la_CFLAGS = \ $(AM_CFLAGS) \ -fvisibility=default \ @@ -5346,11 +5359,34 @@ DISTCHECK_CONFIGURE_FLAGS += \ --with-sysvrcnd-path= endif +if HAVE_PYTHON +DISTCHECK_CONFIGURE_FLAGS += \ + --with-python +endif + if ENABLE_GTK_DOC DISTCHECK_CONFIGURE_FLAGS += \ --enable-gtk-doc endif +# +# Require python when making dist +# +.PHONY: dist-check-python +dist-check-python: +if !HAVE_PYTHON + @echo "*** python and python-lxml module must be installed and enabled in order to make dist" + @false +endif + +dist-check-compat-libs: +if !ENABLE_COMPAT_LIBS + @echo "*** compat-libs must be enabled in order to make dist" + @false +endif + +dist: dist-check-python dist-check-compat-libs + # check "broken" platforms limited toolchains for link breakage before we release .PHONY: linkcheck linkcheck: