summaryrefslogtreecommitdiff
path: root/Makefile.am
AgeCommit message (Collapse)Author
2013-02-06build-sys: create Makefile-man.am automaticallyZbigniew Jędrzejewski-Szmek
man rules were repeating the same information in too many places, which was error prone. Those rules can be easily generated from .xml files. For efficiency and because python is not a required dependency, Makefile-man.am is only regenerated when requested with make update-man-list If no metadata in man/*.xml changed, this file should not change. So only when a new man page or a new alias is added, this file should show up in 'git diff'. The change should then be committed. If the support for building from git without python was dropped, we could drop Makefile-man.am from version control. This would also increase the partial build time (since more stuff would be rebuild whenever sources in man/*.xml would be modified), so it would probably wouldn't be worth it.
2013-02-06build-sys: split man alias rules into separate fileZbigniew Jędrzejewski-Szmek
There shouldn't be any functional change. This is an 'automake include', so the generated Makefile is the same (apart from ordering).
2013-02-06build-sys: replace one last mkdir hook with list itemZbigniew Jędrzejewski-Szmek
Previously, errors would be ignored. Now they are not. But I don't see how we could fail to create the directory, so I don't think that it matters.
2013-02-06test: add a few tests and tidy upThomas Hindoe Paaboel Andersen
adds test of: strv_find strv_find_prefix strv_overlap strv_sort streq_ptr first_word Splits tests of util.c into own file to avoid clutter as we add more. Removed a few prints and uses _cleanup_free_ to make the tests more focused.
2013-01-30build-sys: fix empty linesKay Sievers
2013-01-30build-sys: move HAVE_MICROHTTPD HAVE_MYHOSTNAME to their own sectionsKay Sievers
2013-01-30build-sys: move most of HAVE_KMOD into one sectionKay Sievers
2013-01-30build-sys: add intermediate files to CLEANFILES to fix distcheckKay Sievers
2013-01-29build-sys: add rules for sd_journal_{get,set}_data_threshold(3)Zbigniew Jędrzejewski-Szmek
Fixup for 350b6a65.
2013-01-29build-sys: inline two definitions which were only used in one placeZbigniew Jędrzejewski-Szmek
2013-01-29build-sys: keep intermediate filesZbigniew Jędrzejewski-Szmek
Sometimes it is useful to look at them, and they don't take up any significant amount of space. Keeping them also avoids the message about files being removed at the end of make run.
2013-01-29tests: add test for unit name printingZbigniew Jędrzejewski-Szmek
2013-01-29install: allow specifiers in WantedBy/RequiredBy/AliasZbigniew Jędrzejewski-Szmek
This allows one templated unit to refer to another templated unit at installation time. Examples: > grep WantedBy ~/.config/systemd/user/mpop@.timer WantedBy=services@%i.target > srv disable mpop@iit.timer rm '/home/alxchk/.config/systemd/user/services@iit.target.wants/mpop@iit.timer' > srv enable mpop@iit.timer ln -s '/home/alxchk/.config/systemd/user/mpop@.timer' '/home/alxchk/.config/systemd/user/services@iit.target.wants/mpop@iit.timer' Based-on-patch-by: Oleksii Shevchuk <alxchk@gmail.com>
2013-01-28keymap: Add HP HDX 9494NRMartin Pitt
Add touchpad and www keys. https://bugzilla.redhat.com/show_bug.cgi?id=757928
2013-01-27build-sys: install two more man aliasesZbigniew Jędrzejewski-Szmek
2013-01-26man: extend systemd.directives(7) to all manual pagesZbigniew Jędrzejewski-Szmek
New sections are added: PAM options, crypttab options, commandline options, miscellaneous. The last category will be used for all untagged <varname> elements. Commandline options sections is meant to be a developer tool: when adding an option it is sometimes useful to be able to check if similarly named options exist elsewhere.
2013-01-25Add _cleanup_pclose_ and fix mismatching pipe close opened by popen()Zbigniew Jędrzejewski-Szmek
Based-on-patch-by: Thomas Jarosch <thomas.jarosch@intra2net.com> cppcheck reported: [src/bootchart/svg.c:791]: (error) Mismatching allocation and deallocation: f
2013-01-24build-sys: add silent rules for gperf generationZbigniew Jędrzejewski-Szmek
2013-01-24build-sys: add silent rules for xslt processingZbigniew Jędrzejewski-Szmek
2013-01-24build-sys: add silent rule for m4 processingZbigniew Jędrzejewski-Szmek
Using custom prefixes makes the whole build process a bit more readable.
2013-01-24build-sys: link runlevel targets on install only if sysv compat is enabledZbigniew Jędrzejewski-Szmek
2013-01-24build-sys: add variables to collect unit aliasesZbigniew Jędrzejewski-Szmek
2013-01-24build-sys: add a variable to collect .wants linksZbigniew Jędrzejewski-Szmek
The idea is to make Makefile.am more declarative and avoid repetitions. Redeclaring unit links as variables also makes it easier to conditionally install only some of them.
2013-01-21efi: add efi boot generator that automatically mounts the ESP to /bootLennart Poettering
2013-01-19execute: Fix seccomp support on x32Jonathan Callen
In the x32 ABI, syscall numbers start at 0x40000000. Mask that bit on x32 for lookups in the syscall_names array and syscall_filter and ensure that syscall.h is parsed correctly. [zj: added SYSCALL_TO_INDEX, INDEX_TO_SYSCALL macros.]
2013-01-19core: if the bootloader supports it, determine firmware and boot loader delayLennart Poettering
This allows us to print simple performance data of all parts of the boot now: - firmware - boot loader - kernel - initrd - userspace This only works for bootloaders which support passing TSC data via EFI variables. As of now that's only gummiboot.
2013-01-19build-sys: prune the list of directories we create on installLennart Poettering
2013-01-18core/cgroup-util: simplify functions and add testsZbigniew Jędrzejewski-Szmek
2013-01-18journal-gatewayd: redirect microhttpd messages to journalZbigniew Jędrzejewski-Szmek
A prefix ("microhttpd: ") is added to the log lines to make it easy to distinguish the source.
2013-01-18build-sys: keep noninstallable tests in noinst_testsZbigniew Jędrzejewski-Szmek
Repeating all tests in noinst_PROGRAMS and TESTS is pointless. This way it is also clearer which noinst_PROGRAMs are not part of the test suite.
2013-01-16service: ignore dependencies on $syslog and $local_fs in LSB scriptsLennart Poettering
We no longer allow early-boot init scripts, however in late boot the syslog socket and local mounts are established anyway, so let's simplify our dep graph a bit. If $syslog doesn't resolve to syslog.target anymore there's no reason to keep syslog.target around anymore. Let's remove it. Note that many 3rd party service unit files order themselves after syslog.target. These will be dangling dependencies now, which should be unproblematic, however.
2013-01-16systemctl,loginctl,cgls: do not ellipsize cgroup members when --full is ↵Lukas Nykryn
specified New file output.h with output flags and modes. --full parameter also for cgls and loginctl. Include 'all' parameter in flags (show_cgroup_by_path, show_cgroup, show_cgroup_and_extra, show_cgroup_and_extra_by_spec). get_process_cmdline with max_length == 0 will not ellipsize output. Replace LINE_MAX with 0 in some calls of get_process_cmdline. [zj: Default to --full when under pager for clgs. Drop '-f' since it wasn't documented and didn't actually work. Reindent a bit. ]
2013-01-16service: sysv - remove distribution specific targetsKay Sievers
Systemd should not introduce any new facilities. Distributions which still need to support their non-standard/legacy facilities should add them as patches to their packaging. The following facilities are no longer recognized: $x-display-manager $mail-transfer-agent $mail-transport-agent $mail-transfer-agent $smtp $null This target is no longer available: mail-transfer-agent.target
2013-01-15man: generate xml not html for indexZbigniew Jędrzejewski-Szmek
This way we also get a man page. The output is not as polished. I hope that it doesn't matter too much. index.html is not generated now, the page is called systemd.index.html. If necessary, an install hook should be added.
2013-01-15man: add links to directive index to see-alsosZbigniew Jędrzejewski-Szmek
systemd.directives(5) is renamed to systemd.directives(7). Section 7 is "Miscellaneous".
2013-01-15make-directive-index: link to systemd optionsZbigniew Jędrzejewski-Szmek
2013-01-15man: add bootchart.conf to directives indexZbigniew Jędrzejewski-Szmek
2013-01-15login: introduce sd_session_get_tty()Lennart Poettering
2013-01-10build-sys: do not install to / in 'make distcheck'Zbigniew Jędrzejewski-Szmek
2013-01-10build-sys: fix 'make distcheck' w/o sysvinit compatZbigniew Jędrzejewski-Szmek
EXTRA_DIST must unconditionally contain all source files.
2013-01-09udev: move string copy functions to shared/Kay Sievers
2013-01-08bootchart: install missing man page and config fileUmut Tezduyar
2013-01-08build-sys: fix spelling of sysvrcndirsystemd/v197Lennart Poettering
2013-01-08build-sys: bump version and so revisionsLennart Poettering
2013-01-08analyze: add emacs mode headerLennart Poettering
2013-01-07Revert "build-sys: remove .la files after installation"Kay Sievers
"make distcheck" fails with: ERROR: files left after uninstall: ./usr/lib64/security/pam_systemd.so ./lib/libnss_myhostname.so.2 ./lib64/python2.7/site-packages/systemd/_journal.so This reverts commit ca25fde748dba7ee74e24dff2db6aff1d9faea00.
2013-01-07bootchart: merge bootchartAuke Kok
Bootchart is renamed to 'systemd-bootchart' and installed as /usr/lib/systemd/systemd-bootchart. The configuration file will reside in /etc/systemd/bootchart.conf.
2013-01-07build-sys: remove .la files after installationZbigniew Jędrzejewski-Szmek
Define KEEP_LA_FILES to keep them. The hook is repeated because both install-exec-hook and install-data-hook can install libraries and with parallel make it's not possible to predict which one will run first. http://lists.freedesktop.org/archives/systemd-devel/2013-January/008016.html tl;dr: Libtool .la files are not very useful for linking linux libraries.
2013-01-07nss-myhostname: integrate documentationTom Gundersen
Converted from html to xml and changed the style to fit into the other manpages.
2013-01-07nss-myhostname: integrate into systemd buildsystemTom Gundersen
Note that there are still some rome for cleanups. In particular, the .la files are now installed, which we probably don't want; and some of the macros in Makefile.am are likely redundan.