chiark / gitweb /
hostname: add new hostnamectl tool as text client for hostnamed
[elogind.git] / Makefile.am
index ad7a749cacc7b1411dbb2d9ac77bf07ea4911dff..8e88c42c8f3c5a20dbb2e37fdee902d4cc941740 100644 (file)
@@ -3062,6 +3062,25 @@ MANPAGES_ALIAS += \
        man/systemd-hostnamed.8
 
 man/systemd-hostnamed.8: man/systemd-hostnamed.service.8
+
+hostnamectl_SOURCES = \
+       src/hostname/hostnamectl.c
+
+hostnamectl_CFLAGS = \
+       $(AM_CFLAGS) \
+       $(DBUS_CFLAGS)
+
+hostnamectl_LDADD = \
+       libsystemd-shared.la \
+       libsystemd-dbus.la \
+       libsystemd-id128-internal.la
+
+bin_PROGRAMS += \
+       hostnamectl
+
+MANPAGES += \
+       man/hostnamectl.1
+
 endif
 
 polkitpolicy_in_files += \