Makefile.am 107 KB
Newer Older
1 2
#  -*- Mode: makefile; indent-tabs-mode: t -*- */
#
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 8
#
#  systemd is free software; you can redistribute it and/or modify it
9 10
#  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
11 12 13 14 15
#  (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
16
#  Lesser General Public License for more details.
17
#
18
#  You should have received a copy of the GNU Lesser General Public License
19 20
#  along with systemd; If not, see <http://www.gnu.org/licenses/>.

Kay Sievers's avatar
Kay Sievers committed
21 22
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
AM_MAKEFLAGS = --no-print-directory
23

Kay Sievers's avatar
Kay Sievers committed
24 25
SUBDIRS = . po

26 27 28
# remove targets if the command fails
.DELETE_ON_ERROR:

29 30 31
LIBUDEV_CURRENT=3
LIBUDEV_REVISION=0
LIBUDEV_AGE=2
Kay Sievers's avatar
Kay Sievers committed
32 33

LIBGUDEV_CURRENT=1
34
LIBGUDEV_REVISION=2
Kay Sievers's avatar
Kay Sievers committed
35
LIBGUDEV_AGE=1
36

Lennart Poettering's avatar
Lennart Poettering committed
37
LIBSYSTEMD_LOGIN_CURRENT=3
Lennart Poettering's avatar
Lennart Poettering committed
38
LIBSYSTEMD_LOGIN_REVISION=9
Lennart Poettering's avatar
Lennart Poettering committed
39
LIBSYSTEMD_LOGIN_AGE=3
40

41
LIBSYSTEMD_DAEMON_CURRENT=0
Lennart Poettering's avatar
Lennart Poettering committed
42
LIBSYSTEMD_DAEMON_REVISION=5
43 44
LIBSYSTEMD_DAEMON_AGE=0

45
LIBSYSTEMD_ID128_CURRENT=0
Lennart Poettering's avatar
Lennart Poettering committed
46
LIBSYSTEMD_ID128_REVISION=15
47 48
LIBSYSTEMD_ID128_AGE=0

Lennart Poettering's avatar
Lennart Poettering committed
49 50 51
LIBSYSTEMD_JOURNAL_CURRENT=6
LIBSYSTEMD_JOURNAL_REVISION=0
LIBSYSTEMD_JOURNAL_AGE=6
52

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

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

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

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

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

Lennart Poettering's avatar
Lennart Poettering committed
166
AM_CFLAGS = $(OUR_CFLAGS)
167
AM_LDFLAGS = $(OUR_LDFLAGS)
168

169
# ------------------------------------------------------------------------------
170 171 172
if TARGET_GENTOO
AM_CPPFLAGS += \
	-DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
173
	-DKBD_SETFONT=\"/usr/bin/setfont\"
174
else
175 176 177
if TARGET_ARCH
AM_CPPFLAGS += \
	-DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
178
	-DKBD_SETFONT=\"/usr/bin/setfont\"
179
else
180 181 182
if TARGET_FRUGALWARE
AM_CPPFLAGS += \
	-DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
183
	-DKBD_SETFONT=\"/usr/bin/setfont\"
184
else
185 186 187
if TARGET_MANDRIVA
AM_CPPFLAGS += \
	-DKBD_LOADKEYS=\"/bin/loadkeys\" \
188
	-DKBD_SETFONT=\"/bin/setfont\"
189
else
Koen Kooi's avatar
Koen Kooi committed
190 191 192
if TARGET_ANGSTROM
AM_CPPFLAGS += \
	-DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
193
	-DKBD_SETFONT=\"/usr/bin/setfont\"
Koen Kooi's avatar
Koen Kooi committed
194
else
195
if TARGET_MAGEIA
196 197
AM_CPPFLAGS += \
	-DKBD_LOADKEYS=\"/bin/loadkeys\" \
198
	-DKBD_SETFONT=\"/bin/setfont\"
Dexter Morgan's avatar
Dexter Morgan committed
199 200 201
else
AM_CPPFLAGS += \
	-DKBD_LOADKEYS=\"/bin/loadkeys\" \
202
	-DKBD_SETFONT=\"/bin/setfont\"
Dexter Morgan's avatar
Dexter Morgan committed
203
endif
204
endif
205
endif
206
endif
207
endif
Chris E Ferron's avatar
Chris E Ferron committed
208
endif
209

210
# ------------------------------------------------------------------------------
211
rootbin_PROGRAMS = \
212
	systemctl \
213
	systemd-notify \
214
	systemd-ask-password \
215
	systemd-tty-ask-password-agent \
216
	systemd-tmpfiles \
Kay Sievers's avatar
Kay Sievers committed
217
	systemd-machine-id-setup
218

219
bin_PROGRAMS = \
220
	systemd-cgls \
Lennart Poettering's avatar
Lennart Poettering committed
221
	systemd-cgtop \
222
	systemd-stdio-bridge \
223
	systemd-nspawn \
224 225
	systemd-detect-virt \
	systemd-delta
226

227
dist_bin_SCRIPTS = \
228
	src/analyze/systemd-analyze
229

230
rootlibexec_PROGRAMS = \
231
	systemd \
232
	systemd-cgroups-agent \
233
	systemd-initctl \
234
	systemd-update-utmp \
235
	systemd-shutdownd \
236
	systemd-shutdown \
237
	systemd-modules-load \
238
	systemd-remount-fs \
239
	systemd-reply-password \
240
	systemd-fsck \
241
	systemd-timestamp \
242
	systemd-ac-power \
243 244
	systemd-sysctl \
	systemd-sleep
245

246
systemgenerator_PROGRAMS = \
247
	systemd-getty-generator \
248 249
	systemd-fstab-generator \
	systemd-system-update-generator
250

251
dist_bashcompletion_DATA = \
252
	shell-completion/systemd-bash-completion.sh
253

254 255
dist_tmpfiles_DATA = \
	tmpfiles.d/systemd.conf \
256
	tmpfiles.d/tmp.conf \
257 258
	tmpfiles.d/x11.conf

259 260
if HAVE_SYSV_COMPAT
dist_tmpfiles_DATA += \
261
	tmpfiles.d/legacy.conf
262 263
endif

264
dist_systemunit_DATA = \
265 266
	units/graphical.target \
	units/multi-user.target \
267
	units/emergency.service \
268
	units/emergency.target \
269
	units/sysinit.target \
270
	units/basic.target \
271 272
	units/getty.target \
	units/halt.target \
273
	units/kexec.target \
274
	units/local-fs.target \
275
	units/local-fs-pre.target \
Lennart Poettering's avatar
Lennart Poettering committed
276
	units/remote-fs.target \
277
	units/remote-fs-pre.target \
278 279
	units/network.target \
	units/nss-lookup.target \
280
	units/nss-user-lookup.target \
281
	units/mail-transfer-agent.target \
282
	units/hibernate.target \
283
	units/hybrid-sleep.target \
284 285 286
	units/poweroff.target \
	units/reboot.target \
	units/rescue.target \
287
	units/rpcbind.target \
288
	units/time-sync.target \
289
	units/shutdown.target \
290
	units/final.target \
291
	units/umount.target \
292
	units/sigpwr.target \
293
	units/sleep.target \
294
	units/sockets.target \
295
	units/suspend.target \
296
	units/swap.target \
297
	units/systemd-initctl.socket \
298
	units/systemd-shutdownd.socket \
299
	units/syslog.socket \
300 301
	units/dev-hugepages.mount \
	units/dev-mqueue.mount \
302
	units/sys-kernel-config.mount \
303
	units/sys-kernel-debug.mount \
304
	units/sys-fs-fuse-connections.mount \
Kay Sievers's avatar
Kay Sievers committed
305
	units/tmp.mount \
306
	units/printer.target \
307
	units/sound.target \
308
	units/bluetooth.target \
Kay Sievers's avatar
Kay Sievers committed
309
	units/smartcard.target \
310
	units/systemd-tmpfiles-clean.timer \
311
	units/quotaon.service \
312
	units/systemd-ask-password-wall.path \
313
	units/systemd-ask-password-console.path \
Kay Sievers's avatar
Kay Sievers committed
314
	units/syslog.target \
315 316
	units/systemd-udevd-control.socket \
	units/systemd-udevd-kernel.socket \
317
	units/system-update.target
318

319
nodist_systemunit_DATA = \
320
	units/getty@.service \
321
	units/serial-getty@.service \
322
	units/console-shell.service \
323
	units/console-getty.service \
324
	units/systemd-initctl.service \
325
	units/systemd-shutdownd.service \
326
	units/systemd-modules-load.service \
327
	units/systemd-remount-fs.service \
328 329
	units/systemd-update-utmp-runlevel.service \
	units/systemd-update-utmp-shutdown.service \
330 331
	units/systemd-tmpfiles-setup.service \
	units/systemd-tmpfiles-clean.service \
332
	units/systemd-ask-password-wall.service \
333
	units/systemd-ask-password-console.service \
334
	units/systemd-sysctl.service \
335
	units/emergency.service \
336
	units/rescue.service \
Kay Sievers's avatar
Kay Sievers committed
337
	units/user@.service \
338
	units/systemd-hibernate.service \
339
	units/systemd-hybrid-sleep.service \
340 341 342 343 344 345 346
	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 \
347
	units/systemd-udevd.service \
348
	units/systemd-udev-trigger.service \
349
	units/systemd-udev-settle.service \
350
	units/debug-shell.service
351

352 353 354
dist_userunit_DATA = \
	units/user/default.target \
	units/user/exit.target
355

356
nodist_userunit_DATA = \
357
	units/user/systemd-exit.service
358

359
EXTRA_DIST += \
360
	units/getty@.service.m4 \
361
	units/serial-getty@.service.m4 \
362
	units/console-shell.service.m4.in \
363
	units/console-getty.service.m4.in \
364
	units/rescue.service.m4.in \
365
	units/systemd-initctl.service.in \
366
	units/systemd-shutdownd.service.in \
367
	units/systemd-modules-load.service.in \
368
	units/systemd-remount-fs.service.in \
369 370
	units/systemd-update-utmp-runlevel.service.in \
	units/systemd-update-utmp-shutdown.service.in \
371 372
	units/systemd-tmpfiles-setup.service.in \
	units/systemd-tmpfiles-clean.service.in \
373
	units/systemd-ask-password-wall.service.in \
374
	units/systemd-ask-password-console.service.in \
375
	units/systemd-sysctl.service.in \
376
	units/emergency.service.in \
377 378 379 380 381
	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 \
382 383
	units/systemd-fsck@.service.in \
	units/systemd-fsck-root.service.in \
Kay Sievers's avatar
Kay Sievers committed
384
	units/user@.service.in \
385
	units/systemd-udevd.service \
386 387
	units/systemd-udev-trigger.service \
	units/systemd-udev-settle.service \
388
	units/debug-shell.service.in \
389
	units/systemd-hibernate.service.in \
390
	units/systemd-hybrid-sleep.service.in \
391
	units/systemd-suspend.service.in \
392
	units/quotaon.service.in \
393
	introspect.awk \
394
	man/custom-html.xsl
395

396 397 398
if TARGET_FEDORA
dist_systemunit_DATA += \
	units/fedora/rc-local.service \
399
	units/fedora/halt-local.service
400 401
systemgenerator_PROGRAMS += \
	systemd-rc-local-generator
402 403
endif

404 405 406 407
if TARGET_MANDRIVA
dist_systemunit_DATA += \
	units/fedora/rc-local.service \
	units/fedora/halt-local.service
408 409
systemgenerator_PROGRAMS += \
	systemd-rc-local-generator
410 411
endif

412 413 414 415 416
if TARGET_FRUGALWARE
dist_systemunit_DATA += \
	units/frugalware/display-manager.service
endif

417 418 419 420
if TARGET_SUSE
dist_systemunit_DATA += \
	units/suse/rc-local.service \
	units/suse/halt-local.service
421 422
systemgenerator_PROGRAMS += \
	systemd-rc-local-generator
423 424
endif

Dexter Morgan's avatar
Dexter Morgan committed
425 426 427 428
if TARGET_MAGEIA
dist_systemunit_DATA += \
	units/fedora/rc-local.service \
	units/fedora/halt-local.service
429 430
systemgenerator_PROGRAMS += \
	systemd-rc-local-generator
Dexter Morgan's avatar
Dexter Morgan committed
431 432
endif

433 434
dist_doc_DATA = \
	README \
Kay Sievers's avatar
Kay Sievers committed
435
	NEWS \
436
	LICENSE.LGPL2.1 \
437 438
	LICENSE.GPL2 \
	LICENSE.MIT \
439
	DISTRO_PORTING
440

441
@INTLTOOL_POLICY_RULE@
442

443 444 445 446 447
# ------------------------------------------------------------------------------
MANPAGES = \
	man/systemd.1 \
	man/systemctl.1 \
	man/systemd-cgls.1 \
448
	man/systemd-delta.1 \
449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464
	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 \
465
	man/systemd.kill.5 \
466 467
	man/systemd.special.7 \
	man/systemd.journal-fields.7 \
468
	man/kernel-command-line.7 \
469
	man/daemon.7 \
Lennart Poettering's avatar
Lennart Poettering committed
470
	man/bootup.7 \
471 472 473 474 475 476 477 478
	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 \
479
	man/localtime.5 \
480 481 482 483 484
	man/machine-id.5 \
	man/locale.conf.5 \
	man/os-release.5 \
	man/machine-info.5 \
	man/modules-load.d.5 \
485
	man/systemd-modules-load.service.8 \
486
	man/sysctl.d.5 \
487
	man/systemd-sysctl.service.8 \
488 489 490
	man/systemd-ask-password.1 \
	man/systemd-cat.1 \
	man/systemd-machine-id-setup.1 \
491
	man/systemd-detect-virt.1 \
492
	man/journald.conf.5 \
493
	man/systemd-journald.service.8 \
494
	man/journalctl.1 \
495
	man/systemd-coredumpctl.1 \
496
	man/systemd-inhibit.1 \
497
	man/systemd-remount-fs.service.8 \
498
	man/systemd-update-utmp-runlevel.service.8 \
499
	man/systemd-initctl.service.8 \
500
	man/systemd-shutdownd.service.8 \
501
	man/systemd-suspend.service.8 \
502
	man/systemd-halt.service.8 \
503
	man/systemd-fsck@.service.8 \
504
	man/systemd-ask-password-console.service.8 \
505
	man/systemd-analyze.1 \
506
	man/systemd-tty-ask-password-agent.1 \
507
	man/systemd-getty-generator.8 \
508
	man/systemd-system-update-generator.8 \
509
	man/systemd-fstab-generator.8 \
510
	man/systemd.preset.5 \
511
	man/sd-id128.3 \
512
	man/sd_id128_to_string.3 \
513
	man/sd_id128_randomize.3 \
514
	man/sd_id128_get_machine.3 \
515
	man/sd-journal.3 \
516
	man/sd_journal_print.3 \
517
	man/sd_journal_stream_fd.3 \
518
	man/sd_journal_open.3 \
519
	man/sd_journal_next.3 \
520
	man/sd_journal_get_data.3 \
521
	man/sd_journal_get_realtime_usec.3 \
522
	man/sd_journal_get_cutoff_realtime_usec.3 \
523
	man/sd_journal_get_cursor.3 \
524
	man/sd_journal_get_fd.3 \
525
	man/sd_journal_get_usage.3 \
526
	man/sd_journal_add_match.3 \
527 528
	man/sd_journal_seek_head.3 \
	man/sd_journal_query_unique.3
529 530 531 532

MANPAGES_ALIAS = \
	man/reboot.8 \
	man/poweroff.8 \
533 534
	man/init.1 \
	man/systemd-modules-load.8 \
535
	man/systemd-sysctl.8 \
536
	man/systemd-journald.socket.8 \
537
	man/systemd-journald.8 \
538 539
	man/systemd-remount-fs.8 \
	man/systemd-update-utmp-shutdown.service.8 \
540
	man/systemd-update-utmp.8 \
541
	man/systemd-initctl.socket.8 \
542
	man/systemd-initctl.8 \
543
	man/systemd-shutdownd.socket.8 \
544 545
	man/systemd-shutdownd.8 \
	man/systemd-hibernate.service.8 \
546
	man/systemd-hybrid-sleep.service.8 \
547 548 549 550
	man/systemd-sleep.8 \
	man/systemd-shutdown.8 \
	man/systemd-poweroff.service.8 \
	man/systemd-reboot.service.8 \
551
	man/systemd-kexec.service.8 \
552
	man/systemd-fsck.8 \
553 554 555
	man/systemd-fsck-root.service.8 \
	man/systemd-ask-password-console.path.8 \
	man/systemd-ask-password-wall.service.8 \
556 557 558
	man/systemd-ask-password-wall.path.8 \
	man/systemd-tmpfiles-setup.service.8 \
	man/systemd-tmpfiles-clean.service.8 \
559
	man/systemd-tmpfiles-clean.timer.8 \
560 561
	man/sd_id128_t.3 \
	man/SD_ID128_MAKE.3 \
562
	man/SD_ID128_CONST_STR.3 \
563 564 565
	man/SD_ID128_FORMAT_STR.3 \
	man/SD_ID128_FORMAT_VAL.3 \
	man/sd_id128_equal.3 \
566
	man/sd_id128_from_string.3 \
567 568 569
	man/sd_id128_get_boot.3 \
	man/sd_journal_printv.3 \
	man/sd_journal_send.3 \
570
	man/sd_journal_sendv.3 \
571
	man/sd_journal_perror.3 \
572
	man/SD_JOURNAL_SUPPRESS_LOCATION.3 \
573
	man/sd_journal_open_directory.3 \
574
	man/sd_journal_close.3 \
575 576 577 578
	man/sd_journal.3 \
	man/SD_JOURNAL_RUNTIME_ONLY.3 \
	man/SD_JOURNAL_SYSTEM_ONLY.3 \
	man/SD_JOURNAL_LOCAL_ONLY.3 \
579 580
	man/sd_journal_previous.3 \
	man/sd_journal_next_skip.3 \
581 582 583 584 585
	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 \
586
	man/SD_JOURNAL_FOREACH_DATA.3 \
587
	man/sd_journal_get_monotonic_usec.3 \
588
	man/sd_journal_get_cutoff_monotonic_usec.3 \
589
	man/sd_journal_reliable_fd.3 \
590
	man/sd_journal_process.3 \
591
	man/sd_journal_wait.3 \
592 593 594
	man/SD_JOURNAL_NOP.3 \
	man/SD_JOURNAL_APPEND.3 \
	man/SD_JOURNAL_INVALIDATE.3 \
595
	man/sd_journal_add_disjunction.3 \
596 597 598 599
	man/sd_journal_flush_matches.3 \
	man/sd_journal_seek_tail.3 \
	man/sd_journal_seek_monotonic_usec.3 \
	man/sd_journal_seek_realtime_usec.3 \
600
	man/sd_journal_seek_cursor.3 \
601 602 603 604
	man/sd_journal_test_cursor.3 \
	man/sd_journal_enumerate_unique.3 \
	man/sd_journal_restart_unique.3 \
	man/SD_JOURNAL_FOREACH_UNIQUE.3
605 606 607 608

man/reboot.8: man/halt.8
man/poweroff.8: man/halt.8
man/init.1: man/systemd.1
609 610
man/systemd-modules-load.8: man/systemd-modules-load.service.8
man/systemd-sysctl.8: man/systemd-sysctl.service.8
611
man/systemd-journald.socket.8: man/systemd-journald.service.8
612
man/systemd-journald.8: man/systemd-journald.service.8
613
man/systemd-remount-fs.8: man/systemd-remount-fs.service.8
614 615
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
616
man/systemd-initctl.socket.8: man/systemd-initctl.service.8
617
man/systemd-initctl.8: man/systemd-initctl.service.8
618
man/systemd-shutdownd.socket.8: man/systemd-shutdownd.service.8
619
man/systemd-shutdownd.8: man/systemd-shutdownd.service.8
620
man/systemd-hibernate.service.8: man/systemd-suspend.service.8
621
man/systemd-hybrid-sleep.service.8: man/systemd-suspend.service.8
622
man/systemd-sleep.8: man/systemd-suspend.service.8
623 624 625 626
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
627
man/systemd-fsck.8: man/systemd-fsck@.service.8
628
man/systemd-fsck-root.service.8: man/systemd-fsck@.service.8
629 630 631
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
632 633 634
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
635 636
man/sd_id128_t.3: man/sd-id128.3
man/SD_ID128_MAKE.3: man/sd-id128.3
637
man/SD_ID128_CONST_STR.3: man/sd-id128.3
638 639 640
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
641
man/sd_id128_from_string.3: man/sd_id128_to_string.3
642
man/sd_id128_get_boot.3: man/sd_id128_get_machine.3
643 644 645
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
646
man/sd_journal_perror.3: man/sd_journal_print.3
647
man/SD_JOURNAL_SUPPRESS_LOCATION.3: man/sd_journal_print.3
648 649
man/sd_journal_open_directory.3: man/sd_journal_open.3
man/sd_journal_close.3: man/sd_journal_open.3
650 651 652 653
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
654 655 656
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
657 658 659 660 661
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
662
man/sd_journal_get_monotonic_usec.3: man/sd_journal_get_realtime_usec.3
663
man/sd_journal_get_cutoff_monotonic_usec.3: man/sd_journal_get_cutoff_realtime_usec.3
664
man/sd_journal_reliable_fd.3: man/sd_journal_get_fd.3
665 666
man/sd_journal_process.3: man/sd_journal_get_fd.3
man/sd_journal_wait.3: man/sd_journal_get_fd.3
667 668 669
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
670 671
man/sd_journal_add_disjunction.3: man/sd_journal_add_match.3
man/sd_journal_flush_matches.3: man/sd_journal_add_match.3
672 673 674 675
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
676
man/sd_journal_test_cursor.3: man/sd_journal_get_cursor.3
677 678 679
man/sd_journal_enumerate_unique.3: man/sd_journal_query_unique.3
man/sd_journal_restart_unique.3: man/sd_journal_query_unique.3
man/SD_JOURNAL_FOREACH_UNIQUE.3: man/sd_journal_query_unique.3
680 681 682 683 684 685 686 687 688 689 690

XML_FILES = \
	${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}

if ENABLE_MANPAGES
man_MANS = \
	$(MANPAGES) \
	$(MANPAGES_ALIAS)

noinst_DATA = \
	${XML_FILES:.xml=.html}
691 692 693

CLEANFILES += \
	$(MANPAGES) \
694 695 696 697 698 699 700 701 702 703
	$(MANPAGES_ALIAS) \
	${XML_FILES:.xml=.html}

if HAVE_PYTHON
noinst_DATA += \
	man/index.html

CLEANFILES += \
	man/index.html

704
man/index.html: make-man-index.py $(XML_FILES)
Zbigniew Jędrzejewski-Szmek's avatar