Makefile.am 102 KB
Newer Older
1
#  -*- Mode: makefile; indent-tabs-mode: t -*-
2
#
3 4
#  This file is part of systemd.
#
Kay Sievers's avatar
Kay Sievers committed
5 6
#  Copyright 2010-2012 Lennart Poettering
#  Copyright 2010-2012 Kay Sievers
7
#  Copyright 2013 Zbigniew Jędrzejewski-Szmek
8 9
#
#  systemd is free software; you can redistribute it and/or modify it
10 11
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
12 13 14 15 16
#  (at your option) any later version.
#
#  systemd is distributed in the hope that it will be useful, but
#  WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
#  Lesser General Public License for more details.
18
#
19
#  You should have received a copy of the GNU Lesser General Public License
20 21
#  along with systemd; If not, see <http://www.gnu.org/licenses/>.

Kay Sievers's avatar
Kay Sievers committed
22 23
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
AM_MAKEFLAGS = --no-print-directory
24
AUTOMAKE_OPTIONS = color-tests parallel-tests
25

Kay Sievers's avatar
Kay Sievers committed
26 27
SUBDIRS = . po

28 29 30
# remove targets if the command fails
.DELETE_ON_ERROR:

31 32 33
# keep intermediate files
.SECONDARY:

34
LIBUDEV_CURRENT=3
35
LIBUDEV_REVISION=1
36
LIBUDEV_AGE=2
Kay Sievers's avatar
Kay Sievers committed
37 38

LIBGUDEV_CURRENT=1
39
LIBGUDEV_REVISION=3
Kay Sievers's avatar
Kay Sievers committed
40
LIBGUDEV_AGE=1
41

Lennart Poettering's avatar
Lennart Poettering committed
42
LIBSYSTEMD_LOGIN_CURRENT=3
43
LIBSYSTEMD_LOGIN_REVISION=11
Lennart Poettering's avatar
Lennart Poettering committed
44
LIBSYSTEMD_LOGIN_AGE=3
45

46
LIBSYSTEMD_DAEMON_CURRENT=0
47
LIBSYSTEMD_DAEMON_REVISION=7
48 49
LIBSYSTEMD_DAEMON_AGE=0

50
LIBSYSTEMD_ID128_CURRENT=0
51
LIBSYSTEMD_ID128_REVISION=17
52 53
LIBSYSTEMD_ID128_AGE=0

Lennart Poettering's avatar
Lennart Poettering committed
54
LIBSYSTEMD_JOURNAL_CURRENT=7
55
LIBSYSTEMD_JOURNAL_REVISION=1
Lennart Poettering's avatar
Lennart Poettering committed
56
LIBSYSTEMD_JOURNAL_AGE=7
57

58
# Dirs of external packages
59 60 61 62
dbuspolicydir=@dbuspolicydir@
dbussessionservicedir=@dbussessionservicedir@
dbussystemservicedir=@dbussystemservicedir@
dbusinterfacedir=@dbusinterfacedir@
63 64
pamlibdir=@pamlibdir@
pkgconfigdatadir=$(datadir)/pkgconfig
65
pkgconfiglibdir=$(libdir)/pkgconfig
66
polkitpolicydir=$(datadir)/polkit-1/actions
67
bashcompletiondir=$(sysconfdir)/bash_completion.d
68
rpmmacrosdir=$(sysconfdir)/rpm
69
sysvinitdir=$(SYSTEM_SYSVINIT_PATH)
70
sysvrcnddir=$(SYSTEM_SYSVRCND_PATH)
71
varlogdir=$(localstatedir)/log
72 73
systemdstatedir=$(localstatedir)/lib/systemd
catalogstatedir=$(systemdstatedir)/catalog
74
hwdb_bin=/etc/udev/hwdb.bin
75

76
# Our own, non-special dirs
77
pkgsysconfdir=$(sysconfdir)/systemd
78
userunitdir=$(prefix)/lib/systemd/user
79
userpresetdir=$(prefix)/lib/systemd/user-preset
80
tmpfilesdir=$(prefix)/lib/tmpfiles.d
81
sysctldir=$(prefix)/lib/sysctl.d
82
usergeneratordir=$(prefix)/lib/systemd/user-generators
83
pkgincludedir=$(includedir)/systemd
84 85
systemgeneratordir=$(rootlibexecdir)/system-generators
systemshutdowndir=$(rootlibexecdir)/system-shutdown
86
systemsleepdir=$(rootlibexecdir)/system-sleep
87
systemunitdir=$(rootprefix)/lib/systemd/system
88
systempresetdir=$(rootprefix)/lib/systemd/system-preset
Kay Sievers's avatar
Kay Sievers committed
89
udevlibexecdir=$(rootprefix)/lib/udev
90 91 92 93
udevhomedir=$(udevlibexecdir)
udevrulesdir=$(udevlibexecdir)/rules.d
udevhwdbdir=$(udevlibexecdir)/hwdb.d
catalogdir=$(prefix)/lib/systemd/catalog
94 95

# And these are the special ones for /
96 97 98
rootprefix=@rootprefix@
rootbindir=$(rootprefix)/bin
rootlibexecdir=$(rootprefix)/lib/systemd
99

100
CLEANFILES = $(BUILT_SOURCES)
101
EXTRA_DIST =
Kay Sievers's avatar
Kay Sievers committed
102
BUILT_SOURCES =
103 104 105
INSTALL_EXEC_HOOKS =
UNINSTALL_EXEC_HOOKS =
INSTALL_DATA_HOOKS =
106
UNINSTALL_DATA_HOOKS =
Kay Sievers's avatar
Kay Sievers committed
107
DISTCLEAN_LOCAL_HOOKS =
108
pkginclude_HEADERS =
109
noinst_LTLIBRARIES =
110
lib_LTLIBRARIES =
Kay Sievers's avatar
Kay Sievers committed
111
include_HEADERS =
112
pkgconfiglib_DATA =
113
polkitpolicy_in_files =
114
polkitpolicy_files =
115
dist_udevrules_DATA =
Kay Sievers's avatar
Kay Sievers committed
116 117
nodist_udevrules_DATA =
dist_man_MANS =
118
dist_pkgsysconf_DATA =
119
dist_pkgdata_DATA =
120 121 122
dist_dbuspolicy_DATA =
dbusinterface_DATA =
dist_dbussystemservice_DATA =
123
check_PROGRAMS =
124
check_DATA =
125 126 127
noinst_tests=
noinst_PROGRAMS = $(noinst_tests)
TESTS = $(noinst_tests)
128
udevlibexec_PROGRAMS =
129

130
AM_CPPFLAGS = \
131
	-include $(top_builddir)/config.h \
132
	-DSYSTEM_CONFIG_FILE=\"$(pkgsysconfdir)/system.conf\" \
133
	-DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \
134
	-DSYSTEM_DATA_UNIT_PATH=\"$(systemunitdir)\" \
135
	-DSYSTEM_SYSVINIT_PATH=\"$(SYSTEM_SYSVINIT_PATH)\" \
136
	-DSYSTEM_SYSVRCND_PATH=\"$(SYSTEM_SYSVRCND_PATH)\" \
137 138 139
	-DUSER_CONFIG_FILE=\"$(pkgsysconfdir)/user.conf\" \
	-DUSER_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/user\" \
	-DUSER_DATA_UNIT_PATH=\"$(userunitdir)\" \
140
	-DCATALOG_PATH=\"$(catalogstatedir)\" \
141
	-DHWDB_BIN=\"$(hwdb_bin)\" \
142
	-DSYSTEMD_CGROUP_AGENT_PATH=\"$(rootlibexecdir)/systemd-cgroups-agent\" \
143
	-DSYSTEMD_BINARY_PATH=\"$(rootlibexecdir)/systemd\" \
144
	-DSYSTEMD_SHUTDOWN_BINARY_PATH=\"$(rootlibexecdir)/systemd-shutdown\" \
145
	-DSYSTEMD_SLEEP_BINARY_PATH=\"$(rootlibexecdir)/systemd-sleep\" \
146
	-DSYSTEMCTL_BINARY_PATH=\"$(rootbindir)/systemctl\" \
147
	-DSYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH=\"$(rootbindir)/systemd-tty-ask-password-agent\" \
148
	-DSYSTEMD_STDIO_BRIDGE_BINARY_PATH=\"$(bindir)/systemd-stdio-bridge\" \
149
	-DROOTPREFIX=\"$(rootprefix)\" \
150
	-DRANDOM_SEED=\"$(localstatedir)/lib/random-seed\" \
151
	-DSYSTEMD_CRYPTSETUP_PATH=\"$(rootlibexecdir)/systemd-cryptsetup\" \
152
	-DSYSTEM_GENERATOR_PATH=\"$(systemgeneratordir)\" \
153
	-DUSER_GENERATOR_PATH=\"$(usergeneratordir)\" \
154
	-DSYSTEM_SHUTDOWN_PATH=\"$(systemshutdowndir)\" \
155
	-DSYSTEM_SLEEP_PATH=\"$(systemsleepdir)\" \
156
	-DSYSTEMD_KBD_MODEL_MAP=\"$(pkgdatadir)/kbd-model-map\" \
Kay Sievers's avatar
Kay Sievers committed
157
	-DX_SERVER=\"$(bindir)/X\" \
158
	-DUDEVLIBEXECDIR=\"$(udevlibexecdir)\" \
159
	-DPOLKIT_AGENT_BINARY_PATH=\"$(bindir)/pkttyagent\" \
160
	-I $(top_srcdir)/src \
161
	-I $(top_srcdir)/src/shared \
162
	-I $(top_srcdir)/src/login \
163
	-I $(top_srcdir)/src/journal \
Kay Sievers's avatar
Kay Sievers committed
164
	-I $(top_srcdir)/src/systemd \
165
	-I $(top_builddir)/src/core \
166
	-I $(top_srcdir)/src/core \
167
	-I $(top_srcdir)/src/libudev \
168 169
	-I $(top_srcdir)/src/udev \
	$(OUR_CPPFLAGS)
170

Lennart Poettering's avatar
Lennart Poettering committed
171
AM_CFLAGS = $(OUR_CFLAGS)
172
AM_LDFLAGS = $(OUR_LDFLAGS)
173

174 175
# ------------------------------------------------------------------------------

176
define move-to-rootlibdir
177 178 179 180 181 182 183 184 185
	if test "$(libdir)" != "$(rootlibdir)"; then \
		$(MKDIR_P) $(DESTDIR)$(rootlibdir) && \
		so_img_name=$$(readlink $(DESTDIR)$(libdir)/$$libname) && \
		so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
		ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/$$libname && \
		mv $(DESTDIR)$(libdir)/$$libname.* $(DESTDIR)$(rootlibdir); \
	fi
endef

186 187 188 189 190 191 192 193 194 195 196 197 198 199
INSTALL_DIRS =

RUNLEVEL1_TARGET_WANTS =
RUNLEVEL2_TARGET_WANTS =
RUNLEVEL3_TARGET_WANTS =
RUNLEVEL4_TARGET_WANTS =
RUNLEVEL5_TARGET_WANTS =
SHUTDOWN_TARGET_WANTS =
LOCAL_FS_TARGET_WANTS =
MULTI_USER_TARGET_WANTS =
SYSINIT_TARGET_WANTS =
BASIC_TARGET_WANTS =
SOCKETS_TARGET_WANTS =

200 201 202 203 204
SYSTEM_UNIT_ALIASES =
USER_UNIT_ALIASES =

GENERAL_ALIASES =

205 206 207 208 209 210 211 212 213 214 215 216 217 218
install-target-wants-hook:
	what="$(RUNLEVEL1_TARGET_WANTS)" && wants=runlevel1.target && $(add-wants)
	what="$(RUNLEVEL2_TARGET_WANTS)" && wants=runlevel2.target && $(add-wants)
	what="$(RUNLEVEL3_TARGET_WANTS)" && wants=runlevel3.target && $(add-wants)
	what="$(RUNLEVEL4_TARGET_WANTS)" && wants=runlevel4.target && $(add-wants)
	what="$(RUNLEVEL5_TARGET_WANTS)" && wants=runlevel5.target && $(add-wants)
	what="$(SHUTDOWN_TARGET_WANTS)" && wants=shutdown.target && $(add-wants)
	what="$(LOCAL_FS_TARGET_WANTS)" && wants=local-fs.target && $(add-wants)
	what="$(MULTI_USER_TARGET_WANTS)" && wants=multi-user.target && $(add-wants)
	what="$(SYSINIT_TARGET_WANTS)" && wants=sysinit.target && $(add-wants)
	what="$(BASIC_TARGET_WANTS)" && wants=basic.target && $(add-wants)
	what="$(SOCKETS_TARGET_WANTS)" && wants=sockets.target && $(add-wants)

define add-wants
219 220 221 222
	[ -z "$$what" ] || ( \
	  dir=$(DESTDIR)$(systemunitdir)/$$wants.wants && \
	  $(MKDIR_P) -m 0755 $$dir && \
	  cd $$dir && \
223 224 225 226 227 228 229
	  rm -f $$what && \
	  for i in $$what; do ln -s ../$$i . || exit $$? ; done )
endef

install-directories-hook:
	$(MKDIR_P) $(addprefix $(DESTDIR),$(INSTALL_DIRS))

230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246
install-aliases-hook:
	set -- $(SYSTEM_UNIT_ALIASES) && \
		dir=$(systemunitdir) && $(install-aliases)
	set -- $(USER_UNIT_ALIASES) && \
		dir=$(userunitdir) && $(install-aliases)
	set -- $(GENERAL_ALIASES) && \
		dir= && $(install-aliases)

define install-aliases
	$(MKDIR_P) /$(DESTDIR)$$dir && \
	while [ -n "$$1" ]; do \
		rm -f $(DESTDIR)$$dir/$$2 && \
		ln -s $$1 $(DESTDIR)$$dir/$$2 && \
		shift 2 || exit $$?; \
	done
endef

247 248
INSTALL_EXEC_HOOKS += \
	install-target-wants-hook \
249 250
	install-directories-hook \
	install-aliases-hook
251

252 253 254 255 256 257
# ------------------------------------------------------------------------------

AM_V_M4 = $(AM_V_M4_$(V))
AM_V_M4_ = $(AM_V_M4_$(AM_DEFAULT_VERBOSITY))
AM_V_M4_0 = @echo "  M4      " $@;

258 259 260 261
AM_V_XSLT = $(AM_V_XSLT_$(V))
AM_V_XSLT_ = $(AM_V_XSLT_$(AM_DEFAULT_VERBOSITY))
AM_V_XSLT_0 = @echo "  XSLT    " $@;

262 263 264 265
AM_V_GPERF = $(AM_V_GPERF_$(V))
AM_V_GPERF_ = $(AM_V_GPERF_$(AM_DEFAULT_VERBOSITY))
AM_V_GPERF_0 = @echo "  GPERF   " $@;

266
# ------------------------------------------------------------------------------
267
rootbin_PROGRAMS = \
268
	systemctl \
269
	systemd-notify \
270
	systemd-ask-password \
271
	systemd-tty-ask-password-agent \
272
	systemd-tmpfiles \
Kay Sievers's avatar
Kay Sievers committed
273
	systemd-machine-id-setup
274

275
bin_PROGRAMS = \
276
	systemd-cgls \
Lennart Poettering's avatar
Lennart Poettering committed
277
	systemd-cgtop \
278
	systemd-stdio-bridge \
279
	systemd-nspawn \
280 281
	systemd-detect-virt \
	systemd-delta
282

283
rootlibexec_PROGRAMS = \
284
	systemd \
285
	systemd-cgroups-agent \
286
	systemd-initctl \
287
	systemd-update-utmp \
288
	systemd-shutdownd \
289
	systemd-shutdown \
290
	systemd-remount-fs \
291
	systemd-reply-password \
292
	systemd-fsck \
293
	systemd-timestamp \
294
	systemd-ac-power \
295 296
	systemd-sysctl \
	systemd-sleep
297

298 299 300 301 302
if HAVE_KMOD
rootlibexec_PROGRAMS += \
	systemd-modules-load
endif

303
systemgenerator_PROGRAMS = \
304
	systemd-getty-generator \
305
	systemd-fstab-generator \
306 307
	systemd-system-update-generator \
	systemd-efi-boot-generator
308

309 310 311 312 313 314 315 316 317
dist_bin_SCRIPTS = \
	src/analyze/systemd-analyze

EXTRA_DIST += \
	src/analyze/systemd-analyze.in

CLEANFILES += \
	src/analyze/systemd-analyze

318
dist_bashcompletion_DATA = \
319
	shell-completion/systemd-bash-completion.sh
320

321 322
dist_tmpfiles_DATA = \
	tmpfiles.d/systemd.conf \
323
	tmpfiles.d/tmp.conf \
324 325
	tmpfiles.d/x11.conf

326 327
if HAVE_SYSV_COMPAT
dist_tmpfiles_DATA += \
328
	tmpfiles.d/legacy.conf
329 330
endif

331
dist_systemunit_DATA = \
332 333
	units/graphical.target \
	units/multi-user.target \
334
	units/emergency.service \
335
	units/emergency.target \
336
	units/sysinit.target \
337
	units/basic.target \
338 339
	units/getty.target \
	units/halt.target \
340
	units/kexec.target \
341
	units/local-fs.target \
342
	units/local-fs-pre.target \
Lennart Poettering's avatar
Lennart Poettering committed
343
	units/remote-fs.target \
344
	units/remote-fs-pre.target \
345 346
	units/network.target \
	units/nss-lookup.target \
347
	units/nss-user-lookup.target \
348
	units/hibernate.target \
349
	units/hybrid-sleep.target \
350 351 352
	units/poweroff.target \
	units/reboot.target \
	units/rescue.target \
353
	units/rpcbind.target \
354
	units/time-sync.target \
355
	units/shutdown.target \
356
	units/final.target \
357
	units/umount.target \
358
	units/sigpwr.target \
359
	units/sleep.target \
360
	units/sockets.target \
361
	units/suspend.target \
362
	units/swap.target \
363
	units/systemd-initctl.socket \
364
	units/systemd-shutdownd.socket \
365
	units/syslog.socket \
366 367
	units/dev-hugepages.mount \
	units/dev-mqueue.mount \
368
	units/sys-kernel-config.mount \
369
	units/sys-kernel-debug.mount \
370
	units/sys-fs-fuse-connections.mount \
Kay Sievers's avatar
Kay Sievers committed
371
	units/tmp.mount \
372
	units/printer.target \
373
	units/sound.target \
374
	units/bluetooth.target \
Kay Sievers's avatar
Kay Sievers committed
375
	units/smartcard.target \
376
	units/systemd-tmpfiles-clean.timer \
377
	units/quotaon.service \
378
	units/systemd-ask-password-wall.path \
379
	units/systemd-ask-password-console.path \
380 381
	units/systemd-udevd-control.socket \
	units/systemd-udevd-kernel.socket \
382
	units/system-update.target
383

384
nodist_systemunit_DATA = \
385
	units/getty@.service \
386
	units/serial-getty@.service \
387
	units/console-shell.service \
388
	units/console-getty.service \
389
	units/systemd-initctl.service \
390
	units/systemd-shutdownd.service \
391
	units/systemd-remount-fs.service \
392 393
	units/systemd-update-utmp-runlevel.service \
	units/systemd-update-utmp-shutdown.service \
394 395
	units/systemd-tmpfiles-setup.service \
	units/systemd-tmpfiles-clean.service \
396
	units/systemd-ask-password-wall.service \
397
	units/systemd-ask-password-console.service \
398
	units/systemd-sysctl.service \
399
	units/emergency.service \
400
	units/rescue.service \
Kay Sievers's avatar
Kay Sievers committed
401
	units/user@.service \
402
	units/systemd-hibernate.service \
403
	units/systemd-hybrid-sleep.service \
404 405 406 407 408 409 410
	units/systemd-suspend.service \
	units/systemd-halt.service \
	units/systemd-poweroff.service \
	units/systemd-reboot.service \
	units/systemd-kexec.service \
	units/systemd-fsck@.service \
	units/systemd-fsck-root.service \
411
	units/systemd-udevd.service \
412
	units/systemd-udev-trigger.service \
413
	units/systemd-udev-settle.service \
414
	units/debug-shell.service
415

416 417 418 419 420
if HAVE_KMOD
nodist_systemunit_DATA += \
	units/systemd-modules-load.service
endif

421 422 423
dist_userunit_DATA = \
	units/user/default.target \
	units/user/exit.target
424

425
nodist_userunit_DATA = \
426
	units/user/systemd-exit.service
427

428
EXTRA_DIST += \
429
	units/getty@.service.m4 \
430
	units/serial-getty@.service.m4 \
431
	units/console-shell.service.m4.in \
432
	units/console-getty.service.m4.in \
433
	units/rescue.service.m4.in \
434
	units/systemd-initctl.service.in \
435
	units/systemd-shutdownd.service.in \
436
	units/systemd-remount-fs.service.in \
437 438
	units/systemd-update-utmp-runlevel.service.in \
	units/systemd-update-utmp-shutdown.service.in \
439 440
	units/systemd-tmpfiles-setup.service.in \
	units/systemd-tmpfiles-clean.service.in \
441
	units/systemd-ask-password-wall.service.in \
442
	units/systemd-ask-password-console.service.in \
443
	units/systemd-sysctl.service.in \
444
	units/emergency.service.in \
445 446 447 448 449
	units/systemd-halt.service.in \
	units/systemd-poweroff.service.in \
	units/systemd-reboot.service.in \
	units/systemd-kexec.service.in \
	units/user/systemd-exit.service.in \
450 451
	units/systemd-fsck@.service.in \
	units/systemd-fsck-root.service.in \
Kay Sievers's avatar
Kay Sievers committed
452
	units/user@.service.in \
453
	units/systemd-udevd.service \
454 455
	units/systemd-udev-trigger.service \
	units/systemd-udev-settle.service \
456
	units/debug-shell.service.in \
457
	units/systemd-hibernate.service.in \
458
	units/systemd-hybrid-sleep.service.in \
459
	units/systemd-suspend.service.in \
460
	units/quotaon.service.in \
461
	introspect.awk \
462
	man/custom-html.xsl
463

464 465 466
EXTRA_DIST += \
	units/systemd-modules-load.service.in

467 468 469 470
if HAVE_SYSV_COMPAT
nodist_systemunit_DATA += \
	units/rc-local.service \
	units/halt-local.service
471

472 473
systemgenerator_PROGRAMS += \
	systemd-rc-local-generator
Dexter Morgan's avatar
Dexter Morgan committed
474 475
endif

476 477 478 479
EXTRA_DIST += \
	units/rc-local.service.in \
	units/halt-local.service.in

480 481
dist_doc_DATA = \
	README \
Kay Sievers's avatar
Kay Sievers committed
482
	NEWS \
483
	LICENSE.LGPL2.1 \
484 485
	LICENSE.GPL2 \
	LICENSE.MIT \
486
	DISTRO_PORTING
487

488
@INTLTOOL_POLICY_RULE@
489

490 491 492 493 494
# ------------------------------------------------------------------------------
MANPAGES = \
	man/systemd.1 \
	man/systemctl.1 \
	man/systemd-cgls.1 \
495
	man/systemd-delta.1 \
496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511
	man/systemd-cgtop.1 \
	man/systemd-nspawn.1 \
	man/systemd-tmpfiles.8 \
	man/systemd-notify.1 \
	man/systemd.unit.5 \
	man/systemd.service.5 \
	man/systemd.socket.5 \
	man/systemd.mount.5 \
	man/systemd.automount.5 \
	man/systemd.swap.5 \
	man/systemd.timer.5 \
	man/systemd.path.5 \
	man/systemd.target.5 \
	man/systemd.device.5 \
	man/systemd.snapshot.5 \
	man/systemd.exec.5 \
512
	man/systemd.kill.5 \
513 514
	man/systemd.special.7 \
	man/systemd.journal-fields.7 \
515
	man/systemd.time.7 \
516
	man/kernel-command-line.7 \
517
	man/daemon.7 \
Lennart Poettering's avatar
Lennart Poettering committed
518
	man/bootup.7 \
519 520 521 522 523 524 525 526
	man/runlevel.8 \
	man/telinit.8 \
	man/halt.8 \
	man/shutdown.8 \
	man/pam_systemd.8 \
	man/systemd.conf.5 \
	man/tmpfiles.d.5 \
	man/hostname.5 \
527
	man/localtime.5 \
528 529 530 531 532
	man/machine-id.5 \
	man/locale.conf.5 \
	man/os-release.5 \
	man/machine-info.5 \
	man/sysctl.d.5 \
533
	man/systemd-sysctl.service.8 \
534 535 536
	man/systemd-ask-password.1 \
	man/systemd-cat.1 \
	man/systemd-machine-id-setup.1 \
537
	man/systemd-detect-virt.1 \
538
	man/journald.conf.5 \
539
	man/systemd-journald.service.8 \
540
	man/journalctl.1 \
541
	man/systemd-coredumpctl.1 \
542
	man/systemd-inhibit.1 \
543
	man/systemd-remount-fs.service.8 \
544
	man/systemd-update-utmp-runlevel.service.8 \
545
	man/systemd-initctl.service.8 \
546
	man/systemd-shutdownd.service.8 \
547
	man/systemd-suspend.service.8 \
548
	man/systemd-halt.service.8 \
549
	man/systemd-fsck@.service.8 \
550
	man/systemd-ask-password-console.service.8 \
551
	man/systemd-analyze.1 \
552
	man/systemd-tty-ask-password-agent.1 \
553
	man/systemd-getty-generator.8 \
554
	man/systemd-system-update-generator.8 \
555
	man/systemd-fstab-generator.8 \
556
	man/systemd.preset.5 \
557
	man/sd-id128.3 \
558
	man/sd_id128_to_string.3 \
559
	man/sd_id128_randomize.3 \
560
	man/sd_id128_get_machine.3 \
561
	man/sd-journal.3 \
562
	man/sd_journal_print.3 \
563
	man/sd_journal_stream_fd.3 \
564
	man/sd_journal_open.3 \
565
	man/sd_journal_next.3 \
566
	man/sd_journal_get_data.3 \
567
	man/sd_journal_get_realtime_usec.3 \
568
	man/sd_journal_get_cutoff_realtime_usec.3 \
569
	man/sd_journal_get_cursor.3 \
570
	man/sd_journal_get_fd.3 \
571
	man/sd_journal_get_usage.3 \
572
	man/sd_journal_add_match.3 \
573
	man/sd_journal_seek_head.3 \
574 575
	man/sd_journal_query_unique.3 \
	man/sd_journal_get_catalog.3
576 577 578 579

MANPAGES_ALIAS = \
	man/reboot.8 \
	man/poweroff.8 \
580
	man/init.1 \
581
	man/systemd-sysctl.8 \
582
	man/systemd-journald.socket.8 \
583
	man/systemd-journald.8 \
584 585
	man/systemd-remount-fs.8 \
	man/systemd-update-utmp-shutdown.service.8 \
586
	man/systemd-update-utmp.8 \
587
	man/systemd-initctl.socket.8 \
588
	man/systemd-initctl.8 \
589
	man/systemd-shutdownd.socket.8 \
590 591
	man/systemd-shutdownd.8 \
	man/systemd-hibernate.service.8 \
592
	man/systemd-hybrid-sleep.service.8 \
593 594 595 596
	man/systemd-sleep.8 \
	man/systemd-shutdown.8 \
	man/systemd-poweroff.service.8 \
	man/systemd-reboot.service.8 \
597
	man/systemd-kexec.service.8 \
598
	man/systemd-fsck.8 \
599 600 601
	man/systemd-fsck-root.service.8 \
	man/systemd-ask-password-console.path.8 \
	man/systemd-ask-password-wall.service.8 \
602 603 604
	man/systemd-ask-password-wall.path.8 \
	man/systemd-tmpfiles-setup.service.8 \
	man/systemd-tmpfiles-clean.service.8 \
605
	man/systemd-tmpfiles-clean.timer.8 \
606 607
	man/sd_id128_t.3 \
	man/SD_ID128_MAKE.3 \
608
	man/SD_ID128_CONST_STR.3 \
609 610 611
	man/SD_ID128_FORMAT_STR.3 \
	man/SD_ID128_FORMAT_VAL.3 \
	man/sd_id128_equal.3 \
612
	man/sd_id128_from_string.3 \
613 614 615
	man/sd_id128_get_boot.3 \
	man/sd_journal_printv.3 \
	man/sd_journal_send.3 \
616
	man/sd_journal_sendv.3 \
617
	man/sd_journal_perror.3 \
618
	man/SD_JOURNAL_SUPPRESS_LOCATION.3 \
619
	man/sd_journal_open_directory.3 \
620
	man/sd_journal_close.3 \
621 622 623 624
	man/sd_journal.3 \
	man/SD_JOURNAL_RUNTIME_ONLY.3 \
	man/SD_JOURNAL_SYSTEM_ONLY.3 \
	man/SD_JOURNAL_LOCAL_ONLY.3 \
625 626
	man/sd_journal_previous.3 \
	man/sd_journal_next_skip.3 \
627 628 629 630 631
	man/sd_journal_previous_skip.3 \
	man/SD_JOURNAL_FOREACH.3 \
	man/SD_JOURNAL_FOREACH_BACKWARDS.3 \
	man/sd_journal_enumerate_data.3 \
	man/sd_journal_restart_data.3 \
632
	man/SD_JOURNAL_FOREACH_DATA.3 \
633
	man/sd_journal_get_monotonic_usec.3 \
634
	man/sd_journal_get_cutoff_monotonic_usec.3 \
635
	man/sd_journal_reliable_fd.3 \
636
	man/sd_journal_process.3 \
637
	man/sd_journal_wait.3 \
638 639 640
	man/SD_JOURNAL_NOP.3 \
	man/SD_JOURNAL_APPEND.3 \
	man/SD_JOURNAL_INVALIDATE.3 \
641
	man/sd_journal_add_disjunction.3 \
642
	man/sd_journal_flush_matches.3 \
643 644
	man/sd_journal_get_data_threshold.3 \
	man/sd_journal_set_data_threshold.3 \
645 646 647
	man/sd_journal_seek_tail.3 \
	man/sd_journal_seek_monotonic_usec.3 \
	man/sd_journal_seek_realtime_usec.3 \
648
	man/sd_journal_seek_cursor.3 \
649 650 651
	man/sd_journal_test_cursor.3 \
	man/sd_journal_enumerate_unique.3 \
	man/sd_journal_restart_unique.3 \
652 653
	man/SD_JOURNAL_FOREACH_UNIQUE.3 \
	man/sd_journal_get_catalog_for_message_id.3
654

655 656 657 658 659 660 661 662 663
if HAVE_KMOD
MANPAGES += \
	man/modules-load.d.5 \
	man/systemd-modules-load.service.8
MANPAGES_ALIAS += \
	man/systemd-modules-load.8
man/systemd-modules-load.8: man/systemd-modules-load.service.8
endif

664 665 666 667 668 669 670 671 672 673
if HAVE_MICROHTTPD
MANPAGES += \
	man/systemd-journal-gatewayd.service.8
MANPAGES_ALIAS += \
	man/systemd-journal-gatewayd.socket.8 \
	man/systemd-journal-gatewayd.8
man/systemd-journal-gatewayd.socket.8: man/systemd-journal-gatewayd.service.8
man/systemd-journal-gatewayd.8: man/systemd-journal-gatewayd.service.8
endif

674 675 676 677 678
if HAVE_MYHOSTNAME
MANPAGES += \
	man/nss-myhostname.8
endif

679 680 681
man/reboot.8: man/halt.8
man/poweroff.8: man/halt.8
man/init.1: man/systemd.1
682
man/systemd-sysctl.8: man/systemd-sysctl.service.8
683
man/systemd-journald.socket.8: man/systemd-journald.service.8
684
man/systemd-journald.8: man/systemd-journald.service.8
685
man/systemd-remount-fs.8: man/systemd-remount-fs.service.8
686 687
man/systemd-update-utmp-shutdown.service.8: man/systemd-update-utmp-runlevel.service.8
man/systemd-update-utmp.8: man/systemd-update-utmp-runlevel.service.8
688
man/systemd-initctl.socket.8: man/systemd-initctl.service.8
689
man/systemd-initctl.8: man/systemd-initctl.service.8
690
man/systemd-shutdownd.socket.8: man/systemd-shutdownd.service.8
691
man/systemd-shutdownd.8: man/systemd-shutdownd.service.8
692
man/systemd-hibernate.service.8: man/systemd-suspend.service.8
693
man/systemd-hybrid-sleep.service.8: man/systemd-suspend.service.8
694
man/systemd-sleep.8: man/systemd-suspend.service.8
695 696 697 698
man/systemd-shutdown.8: man/systemd-halt.service.8
man/systemd-poweroff.service.8: man/systemd-halt.service.8
man/systemd-reboot.service.8: man/systemd-halt.service.8
man/systemd-kexec.service.8: man/systemd-halt.service.8
699
man/systemd-fsck.8: man/systemd-fsck@.service.8
700
man/systemd-fsck-root.service.8: man/systemd-fsck@.service.8
701 702 703
man/systemd-ask-password-console.path.8: man/systemd-ask-password-console.service.8
man/systemd-ask-password-wall.service.8: man/systemd-ask-password-console.service.8
man/systemd-ask-password-wall.path.8: man/systemd-ask-password-console.service.8
704 705 706
man/systemd-tmpfiles-setup.service.8: man/systemd-tmpfiles.8
man/systemd-tmpfiles-clean.service.8: man/systemd-tmpfiles.8
man/systemd-tmpfiles-clean.timer.8: man/systemd-tmpfiles.8
707 708
man/sd_id128_t.3: man/sd-id128.3
man/SD_ID128_MAKE.3: man/sd-id128.3
709
man/SD_ID128_CONST_STR.3: man/sd-id128.3
710 711 712
man/SD_ID128_FORMAT_STR.3: man/sd-id128.3
man/SD_ID128_FORMAT_VAL.3: man/sd-id128.3
man/sd_id128_equal.3: man/sd-id128.3
713
man/sd_id128_from_string.3: man/sd_id128_to_string.3
714
man/sd_id128_get_boot.3: man/sd_id128_get_machine.3
715 716 717
man/sd_journal_printv.3: man/sd_journal_print.3
man/sd_journal_send.3: man/sd_journal_print.3
man/sd_journal_sendv.3: man/sd_journal_print.3
718
man/sd_journal_perror.3: man/sd_journal_print.3
719
man/SD_JOURNAL_SUPPRESS_LOCATION.3: man/sd_journal_print.3
720 721
man/sd_journal_open_directory.3: man/sd_journal_open.3
man/sd_journal_close.3: man/sd_journal_open.3
722 723 724 725
man/sd_journal.3: man/sd_journal_open.3
man/SD_JOURNAL_RUNTIME_ONLY.3: man/sd_journal_open.3
man/SD_JOURNAL_SYSTEM_ONLY.3: man/sd_journal_open.3
man/SD_JOURNAL_LOCAL_ONLY.3: man/sd_journal_open.3
726 727 728
man/sd_journal_previous.3: man/sd_journal_next.3
man/sd_journal_next_skip.3: man/sd_journal_next.3
man/sd_journal_previous_skip.3: man/sd_journal_next.3
729 730 731 732 733
man/SD_JOURNAL_FOREACH.3: man/sd_journal_next.3
man/SD_JOURNAL_FOREACH_BACKWARDS.3: man/sd_journal_next.3
man/sd_journal_enumerate_data.3: man/sd_journal_get_data.3
man/sd_journal_restart_data.3: man/sd_journal_get_data.3
man/SD_JOURNAL_FOREACH_DATA.3: man/sd_journal_get_data.3
734
man/sd_journal_get_monotonic_usec.3: man/sd_journal_get_realtime_usec.3
735
man/sd_journal_get_cutoff_monotonic_usec.3: man/sd_journal_get_cutoff_realtime_usec.3
736
man/sd_journal_reliable_fd.3: man/sd_journal_get_fd.3
737 738
man/sd_journal_process.3: man/sd_journal_get_fd.3
man/sd_journal_wait.3: man/sd_journal_get_fd.3
739 740 741
man/SD_JOURNAL_NOP.3: man/sd_journal_get_fd.3
man/SD_JOURNAL_APPEND.3: man/sd_journal_get_fd.3
man/SD_JOURNAL_INVALIDATE.3: man/sd_journal_get_fd.3
742 743
man/sd_journal_add_disjunction.3: man/sd_journal_add_match.3
man/sd_journal_flush_matches.3: man/sd_journal_add_match.3
744 745 746 747
man/sd_journal_seek_tail.3: man/sd_journal_seek_head.3
man/sd_journal_seek_monotonic_usec.3: man/sd_journal_seek_head.3