mirror of
https://github.com/systemd/systemd.git
synced 2024-10-27 10:25:37 +03:00
build-sys: update catalog on installation
This commit is contained in:
parent
80343dc19a
commit
e2bb347f85
12
Makefile.am
12
Makefile.am
@ -2714,6 +2714,18 @@ libsystemd-journal-uninstall-hook:
|
||||
UNINSTALL_EXEC_HOOKS += \
|
||||
libsystemd-journal-uninstall-hook
|
||||
|
||||
# Update catalog on installation / deinstallation. Do not bother if installing
|
||||
# in DESTDIR, since this is likely for packaging purposes.
|
||||
catalog-update-hook:
|
||||
test -n "$(DESTDIR)" || journalctl --update-catalog
|
||||
|
||||
INSTALL_EXEC_HOOKS += \
|
||||
catalog-update-hook
|
||||
|
||||
UNINSTALL_EXEC_HOOKS += \
|
||||
catalog-update-hook
|
||||
|
||||
|
||||
noinst_PROGRAMS += \
|
||||
test-journal \
|
||||
test-journal-send \
|
||||
|
Loading…
Reference in New Issue
Block a user