summaryrefslogtreecommitdiff
path: root/Makefile.am
AgeCommit message (Collapse)Author
2015-06-18Merge pull request #285 from poettering/audit-table-fixTom Gundersen
Audit table fix
2015-06-18audit: make sure to include libaudit-defined audit events in tableLennart Poettering
This change hooks up $(audit_list_includes) that was already defined since the beginning of the audit type list, but never actually made use of. It thus completes 4733607eec54034d2083534ebff2dad89c28574e.
2015-06-18build-sys: don't dist man/systemd.directives.xmlMartin Pitt
It depends on man/custom-entities.ent which is (and needs to be) a built file, so we need to always build man/systemd.directives.xml as well. We also need to drop this from update-man-list so that it doesn't get disted from Makefile-man.am. Fixes distcheck failure. https://github.com/systemd/systemd/issues/215
2015-06-18build-sys: make SOURCE_XML_FILES array relative to $(top_srcdir)Daniel Mack
When calling the build commands from another directory than the toplevel: mkdir build cd build ../configure [...] ... the compilation fails with the following error: GEN man/systemd.directives.xml Traceback (most recent call last): File "../tools/make-directive-index.py", line 313, in make_page _extract_directives(directive_groups, formatting, page) File "../tools/make-directive-index.py", line 191, in _extract_directives t = xml_parse(page) File "/home/martin/upstream/systemd/tools/xml_helper.py", line 30, in xml_parse doc = tree.parse(page, _parser) File "lxml.etree.pyx", line 3301, in lxml.etree.parse (src/lxml/lxml.etree.c:72453) File "parser.pxi", line 1791, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:105915) File "parser.pxi", line 1817, in lxml.etree._parseDocumentFromURL (src/lxml/lxml.etree.c:106214) File "parser.pxi", line 1721, in lxml.etree._parseDocFromFile (src/lxml/lxml.etree.c:105213) File "parser.pxi", line 1122, in lxml.etree._BaseParser._parseDocFromFile (src/lxml/lxml.etree.c:100163) File "parser.pxi", line 580, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:94286) File "parser.pxi", line 690, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:95722) File "parser.pxi", line 618, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:94754) OSError: Error reading file 'man/bootup.xml': failed to load external entity "man/bootup.xml" That is because the file names in the XML_FILES array are not relative to $(top_srcdir), and hence ../tools/make-directive-index.py is called with non-existant arguments. To fix this, call patsubst when generating SOURCE_XML_FILES from NON_INDEX_XML_FILES.
2015-06-18build-sys: bump versions and sonamesLennart Poettering
2015-06-17turn kdbus support into a runtime optionKay Sievers
./configure --enable/disable-kdbus can be used to set the default behavior regarding kdbus. If no kdbus kernel support is available, dbus-dameon will be used. With --enable-kdbus, the kernel command line option "kdbus=0" can be used to disable kdbus. With --disable-kdbus, the kernel command line option "kdbus=1" is required to enable kdbus support.
2015-06-17Merge pull request #256 from kaysievers/wipKay Sievers
libsystemd: remove list of symbols to export only in the future
2015-06-17build-sys: restore systemshutdowndir substitutionMichael Biebl
This was accidentally removed in d6b07ef.
2015-06-17libsystemd: remove list of symbols to export only in the futureKay Sievers
2015-06-17build-sys: hide magic section variables from exported symbolsKay Sievers
https://github.com/systemd/systemd/issues/234
2015-06-15Merge pull request #212 from poettering/gc-machine-snapshotsLennart Poettering
automatically remove old machine shapshots at boot
2015-06-15tmpfiles: automatically remove old machine snapshots at bootLennart Poettering
Remove old temporary snapshots, but only at boot. Ideally we'd have "self-destroying" btrfs snapshots that go away if the last last reference to it does. To mimic a scheme like this at least remove the old snapshots on fresh boots, where we know they cannot be referenced anymore. Note that we actually remove all temporary files in /var/lib/machines/ at boot, which should be safe since the directory has defined semantics. In the root directory (where systemd-nspawn --ephemeral places snapshots) we are more strict, to avoid removing unrelated temporary files. This also splits out nspawn/container related tmpfiles bits into a new tmpfiles snippet to systemd-nspawn.conf
2015-06-15buildsys: missing SECCOMP_CFLAGS in various placesCristian Rodríguez
libcore, systemd and nspawn fail to build when seccomp headers are not in the include path.
2015-06-15Merge pull request #202 from victorenator/l10n-beDaniel Mack
l10n: Add Belarusian translation
2015-06-15firewall: rename fw-util.[ch] → firewall-util.[ch]Daniel Mack
The names fw-util.[ch] are too ambiguous, better rename the files to firewall-util.[ch]. Also rename the test accordingly.
2015-06-15l10n: Add Belarusian translationViktar Vauchkevich
2015-06-14build-sys: include libsystemd-journal and libudev in libsharedKay Sievers
2015-06-14Merge pull request #191 from kaysievers/resolvDavid Herrmann
build-sys: merge convenience library libresolve
2015-06-14Merge pull request #189 from teg/rtnl-renameDavid Herrmann
Rename sd_rtnl to sd_netlink to prepare for further netlink-protocol support. Anything rtnl specific still uses the sd_rtnl prefix, but the generic parts (including the bus and message objects) are now called sd_netlink.
2015-06-14build-sys: merge convenience library libresolveKay Sievers
2015-06-14build-sys: simplify lib dependenciesKay Sievers
2015-06-13sd-netlink: message - split up source fileTom Gundersen
Split netlink-socket.c and rtnl-message.c from netlink-message.c.
2015-06-13sd-netlink: rename from sd-rtnlTom Gundersen
2015-06-12Merge pull request #164 from l10n-tw/masterRonny Chevalier
Add zh_TW translation.
2015-06-12po,catalog: add zh_TW translation.Jeff Huang
2015-06-11build-sys: split internal basic/ library from shared/Kay Sievers
basic/ can be used by everything cannot use anything outside of basic/ libsystemd/ can use basic/ cannot use shared/ shared/ can use libsystemd/
2015-06-10Merge pull request #152 from zonque/buildsysLennart Poettering
build-sys: make man/systemd.directives.xml depend on man/custom-entit…
2015-06-10Merge pull request #151 from mischief/dns-shared-3Lennart Poettering
move dns code from resolve to shared v3
2015-06-10build-sys: make man/systemd.directives.xml depend on man/custom-entities.entDaniel Mack
Currently, the following command sequence fails: make distclean ./autogen.sh c make distcheck That's because the command invoked to build man/systemd.directives.xml needs man/custom-entities.ent to function, which itself isn't a dependency. The $(filter-out $<,$^) logic used to filter out everything from the prerequisites except for the first word, which doesn't work anymore now. Use $(SOURCE_XML_FILES) instead.
2015-06-10Include tools/compile-unifont.py in the source tarballMike Gilbert
This prevents a build failure when /usr/share/fonts/unifont/unifont.hex is newer than unifont-glyph-array.bin.
2015-06-10resolve: move dns routines into sharedNick Owens
2015-06-09build-sys: always dist *.policy.in filesMartin Pitt
Unconditionally dist org.freedesktop.{import1,machine1}.policy.in, like all the other *.policy.in files. This avoids missing policy files in the tarball. Spotted by "make distcheck" failure with --disable-importd.
2015-06-03build-sys: disable gc-sections if optimization is disabledKay Sievers
This way, development builds will not rely on gc-sections to paper over cyclic link dependencies. Newly introduced broken link requirements will immediatley fail.
2015-06-03build-sys: split off libsystemd-machine convenience libKay Sievers
Break the link order cycle by splitting off the machine parts which use sd-bus but live in shared/.
2015-06-03build-sys: merge libsystemd-label convenience libKay Sievers
Stop to pretend that we can split selinux related code from other. We have too many cross-references and it breaks all the time and I am no longer willing to maintain that mess for no real benefit. We currently have cyclic dependencies which are only resolved on machines with gc-sections toolchains. We need a simpler and at the same time more strict model to manage our convenienc libraries and linking. The first thing to give up is the "optimization" of not linking libselinux for a very few tools. If that is an issue, please fix the mess that libselinux creates in selinux itself, and do not ask consumers to work around it.
2015-06-03build-sys: disable gc-sections for distcheckKay Sievers
We cannot rely on gc-sections to fix dependency cycles in our linking setup. Disable it for distcheck to let it fail and find these bugs earlier.
2015-06-03build-sys: remove left-over gtk-docKay Sievers
2015-06-03remove gudev and gtk-docKay Sievers
The library moved to: https://git.gnome.org/browse/libgudev/
2015-05-30tests: add test-conf-parserRonny Chevalier
2015-05-30Revert "Makefile: make custom-entities.ent depend on Makefile.am"Daniel Mack
This reverts commit 6096d9cc. As discussed on the mailing list, we should accept some formal incorrectness in the dependency here, and not rebuild the man pages every time Makefile.am changes - xsltproc is simply too expensive. Instead, let's move man/custom-entities.ent from DISTCLEANFILES to CLEANFILES, so a 'make clean' is sufficient to actually make changes in Makefile.am efficient for the contents of the man pages.
2015-05-29util: split out signal-util.[ch] from util.[ch]Lennart Poettering
No functional changes.
2015-05-29build-sys: pass originally configured --enable-split-usr to distcheckMartin Pitt
Previously we always ran distcheck with --disable-split-usr. This caused test-path-util to fail with Assertion 'fsck_exists("minix") == 0' failed at ../src/test/test-path-util.c:224, function test_fsck_exists(). Aborting. as looking up fsck.minix would only look into DEFAULT_PATH_NORMAL, but on these systems fsck is in /sbin/.
2015-05-29build-sys: fix typoKarel Zak
There is nothing like systemd_verify_* in Makefile.am. The bug has been invisible because automake uses the default CFLAGS when component CFLAGS are undefined.
2015-05-29build-sys: Stop depending on current configure options for EXTRA_DISTMartin Pitt
Consistently move EXTRA_DIST out of conditional blocks. This would have produced incomplete dist tarballs when being run in a built tree with not every feature enabled, which can cause broken dist tarballs.
2015-05-29Makefile: make custom-entities.ent depend on Makefile.amDaniel Mack
When Makefile.am is modified, make sure custom-entities.ent is rebuilt. After all, $(substitutions) is defined there, so changes of that variable must be reflected in the resulting file.
2015-05-28systemctl: drop hardcoded chkconfig invocationMartin Pitt
Introduce /usr/lib/systemd/systemd-sysv-install [--root=] <action> <name> abstraction, replacing the direct calling of chkconfig. This allows distributions to call their specific tools like update-rc.d without patching systemd. Ship systemd-sysv-install.SKELETON as an example for packagers how to implement this. Drop the --enable-chkconfig configure option. Document this in README and point to it in NEWS.
2015-05-28man: use configured path for mount and umount binaries in manpagesFilipe Brandenburger
Export the MOUNT_PATH and UMOUNT_PATH variables as XML entities and use them in the systemctl.1 manpage instead of hardcoding the path in /usr/bin. Tested: - Ran ./configure ac_cv_path_MOUNT_PATH=/bin/mount (same for umount) and rebuilt the manpages, confirmed that the correct path was in man/systemctl.1 - Rebuilt man/systemd.directives.xml and the man pages derived from it, confirmed that the correct paths were there as well.
2015-05-26build-sys: ship fsck mock in tarballMartin Pitt
Useful for downstream integration test cases.
2015-05-25build-sys: fix headers installationMarc-Antoine Perennou
2015-05-25build-sys: don't dist generated filesMarc-Antoine Perennou
[tomegun: fix Makefile.am:5675: warning: nodist_systemd_resolved_SOURCES multiply defined in condition ENABLE_RESOLVED]