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
LIBUDEV_CURRENT=3
32
LIBUDEV_REVISION=1
33
LIBUDEV_AGE=2
Kay Sievers's avatar
Kay Sievers committed
34 35

LIBGUDEV_CURRENT=1
36
LIBGUDEV_REVISION=3
Kay Sievers's avatar
Kay Sievers committed
37
LIBGUDEV_AGE=1
38

Lennart Poettering's avatar
Lennart Poettering committed
39
LIBSYSTEMD_LOGIN_CURRENT=3
40
LIBSYSTEMD_LOGIN_REVISION=11
Lennart Poettering's avatar
Lennart Poettering committed
41
LIBSYSTEMD_LOGIN_AGE=3
42

43
LIBSYSTEMD_DAEMON_CURRENT=0
44
LIBSYSTEMD_DAEMON_REVISION=7
45 46
LIBSYSTEMD_DAEMON_AGE=0

47
LIBSYSTEMD_ID128_CURRENT=0
48
LIBSYSTEMD_ID128_REVISION=17
49 50
LIBSYSTEMD_ID128_AGE=0

Lennart Poettering's avatar
Lennart Poettering committed
51
LIBSYSTEMD_JOURNAL_CURRENT=7
52
LIBSYSTEMD_JOURNAL_REVISION=1
Lennart Poettering's avatar
Lennart Poettering committed
53
LIBSYSTEMD_JOURNAL_AGE=7
54

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

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

# And these are the special ones for /
93 94 95
rootprefix=@rootprefix@
rootbindir=$(rootprefix)/bin
rootlibexecdir=$(rootprefix)/lib/systemd
96

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

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

Lennart Poettering's avatar
Lennart Poettering committed
168
AM_CFLAGS = $(OUR_CFLAGS)
169
AM_LDFLAGS = $(OUR_LDFLAGS)
170

171 172
# ------------------------------------------------------------------------------

173
define move-to-rootlibdir
174 175 176 177 178 179 180 181 182
	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

183 184 185 186 187 188 189 190 191 192 193 194 195 196
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 =

197 198 199 200 201
SYSTEM_UNIT_ALIASES =
USER_UNIT_ALIASES =

GENERAL_ALIASES =

202 203 204 205 206 207 208 209 210 211 212 213 214 215
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
216 217 218 219
	[ -z "$$what" ] || ( \
	  dir=$(DESTDIR)$(systemunitdir)/$$wants.wants && \
	  $(MKDIR_P) -m 0755 $$dir && \
	  cd $$dir && \
220 221 222 223 224 225 226
	  rm -f $$what && \
	  for i in $$what; do ln -s ../$$i . || exit $$? ; done )
endef

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

227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243
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

244 245
INSTALL_EXEC_HOOKS += \
	install-target-wants-hook \
246 247
	install-directories-hook \
	install-aliases-hook
248

249 250 251 252 253 254
# ------------------------------------------------------------------------------

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

255 256 257 258
AM_V_XSLT = $(AM_V_XSLT_$(V))
AM_V_XSLT_ = $(AM_V_XSLT_$(AM_DEFAULT_VERBOSITY))
AM_V_XSLT_0 = @echo "  XSLT    " $@;

259 260 261 262
AM_V_GPERF = $(AM_V_GPERF_$(V))
AM_V_GPERF_ = $(AM_V_GPERF_$(AM_DEFAULT_VERBOSITY))
AM_V_GPERF_0 = @echo "  GPERF   " $@;

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

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

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

295 296 297 298 299
if HAVE_KMOD
rootlibexec_PROGRAMS += \
	systemd-modules-load
endif

300
systemgenerator_PROGRAMS = \
301
	systemd-getty-generator \
302
	systemd-fstab-generator \
303 304
	systemd-system-update-generator \
	systemd-efi-boot-generator
305

306 307 308 309 310 311 312 313 314
dist_bin_SCRIPTS = \
	src/analyze/systemd-analyze

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

CLEANFILES += \
	src/analyze/systemd-analyze

315
dist_bashcompletion_DATA = \
316
	shell-completion/systemd-bash-completion.sh
317

318 319
dist_tmpfiles_DATA = \
	tmpfiles.d/systemd.conf \
320
	tmpfiles.d/tmp.conf \
321 322
	tmpfiles.d/x11.conf

323 324
if HAVE_SYSV_COMPAT
dist_tmpfiles_DATA += \
325
	tmpfiles.d/legacy.conf
326 327
endif

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

381
nodist_systemunit_DATA = \
382
	units/getty@.service \
383
	units/serial-getty@.service \
384
	units/console-shell.service \
385
	units/console-getty.service \
386
	units/systemd-initctl.service \
387
	units/systemd-shutdownd.service \
388
	units/systemd-remount-fs.service \
389 390
	units/systemd-update-utmp-runlevel.service \
	units/systemd-update-utmp-shutdown.service \
391 392
	units/systemd-tmpfiles-setup.service \
	units/systemd-tmpfiles-clean.service \
393
	units/systemd-ask-password-wall.service \
394
	units/systemd-ask-password-console.service \
395
	units/systemd-sysctl.service \
396
	units/emergency.service \
397
	units/rescue.service \
Kay Sievers's avatar
Kay Sievers committed
398
	units/user@.service \
399
	units/systemd-hibernate.service \
400
	units/systemd-hybrid-sleep.service \
401 402 403 404 405 406 407
	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 \
408
	units/systemd-udevd.service \
409
	units/systemd-udev-trigger.service \
410
	units/systemd-udev-settle.service \
411
	units/debug-shell.service
412

413 414 415 416 417
if HAVE_KMOD
nodist_systemunit_DATA += \
	units/systemd-modules-load.service
endif

418 419 420
dist_userunit_DATA = \
	units/user/default.target \
	units/user/exit.target
421

422
nodist_userunit_DATA = \
423
	units/user/systemd-exit.service
424

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

461 462 463
EXTRA_DIST += \
	units/systemd-modules-load.service.in

464 465 466 467
if HAVE_SYSV_COMPAT
nodist_systemunit_DATA += \
	units/rc-local.service \
	units/halt-local.service
468

469 470
systemgenerator_PROGRAMS += \
	systemd-rc-local-generator
Dexter Morgan's avatar
Dexter Morgan committed
471 472
endif

473 474 475 476
EXTRA_DIST += \
	units/rc-local.service.in \
	units/halt-local.service.in

477 478
dist_doc_DATA = \
	README \
Kay Sievers's avatar
Kay Sievers committed
479
	NEWS \
480
	LICENSE.LGPL2.1 \
481 482
	LICENSE.GPL2 \
	LICENSE.MIT \
483
	DISTRO_PORTING
484

485
@INTLTOOL_POLICY_RULE@
486

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

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

652 653 654 655 656 657 658 659 660
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

661 662 663 664 665 666 667 668 669 670
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

671 672 673 674 675
if HAVE_MYHOSTNAME
MANPAGES += \
	man/nss-myhostname.8
endif

676 677 678
man/reboot.8: man/halt.8
man/poweroff.8: man/halt.8
man/init.1: man/systemd.1
679
man/systemd-sysctl.8: man/systemd-sysctl.service.8
680
man/systemd-journald.socket.8: man/systemd-journald.service.8
681
man/systemd-journald.8: man/systemd-journald.service.8
682
man/systemd-remount-fs.8: man/systemd-remount-fs.service.8
683 684
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
685
man/systemd-initctl.socket.8: man/systemd-initctl.service.8
686
man/systemd-initctl.8: man/systemd-initctl.service.8
687
man/systemd-shutdownd.socket.8: man/systemd-shutdownd.service.8
688
man/systemd-shutdownd.8: man/systemd-shutdownd.service.8
689
man/systemd-hibernate.service.8: man/systemd-suspend.service.8
690
man/systemd-hybrid-sleep.service.8: man/systemd-suspend.service.8
691
man/systemd-sleep.8: man/systemd-suspend.service.8
692 693 694 695
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
696
man/systemd-fsck.8: man/systemd-fsck@.service.8
697
man/systemd-fsck-root.service.8: man/systemd-fsck@.service.8
698 699 700
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
701 702 703
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
704 705
man/sd_id128_t.3: man/sd-id128.3
man/SD_ID128_MAKE.3: man/sd-id128.3
706
man/SD_ID128_CONST_STR.3: man/sd-id128.3
707 708 709
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
710
man/sd_id128_from_string.3: man/sd_id128_to_string.3
711
man/sd_id128_get_boot.3: man/sd_id128_get_machine.3
712 713 714
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
715
man/sd_journal_perror.3: man/sd_journal_print.3
716
man/SD_JOURNAL_SUPPRESS_LOCATION.3: man/sd_journal_print.3
717 718
man/sd_journal_open_directory.3: man/sd_journal_open.3
man/sd_journal_close.3: man/sd_journal_open.3
719 720 721 722
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
723 724 725
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
726 727 728 729 730
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
731
man/sd_journal_get_monotonic_usec.3: man/sd_journal_get_realtime_usec.3
732
man/sd_journal_get_cutoff_monotonic_usec.3: man/sd_journal_get_cutoff_realtime_usec.3
733
man/sd_journal_reliable_fd.3: man/sd_journal_get_fd.3
734 735
man/sd_journal_process.3: man/sd_journal_get_fd.3
man/sd_journal_wait.3: man/sd_journal_get_fd.3
736 737 738
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
739 740
man/sd_journal_add_disjunction.3: man/sd_journal_add_match.3
man/sd_journal_flush_matches.3: man/sd_journal_add_match.3
741 742 743 744
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
man/sd_journal_seek_realtime_usec.3: man/sd_journal_seek_head.3
man/sd_journal_seek_cursor.3: man/sd_journal_seek_head.3
745
man/sd_journal_test_cursor.3: man/sd_journal_get_cursor.3