summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-10-17 21:23:30 +0200
committerLennart Poettering <lennart@poettering.net>2012-10-17 21:25:42 +0200
commitdbc4fbae58e39cb0d33738f0a4d1e74511ed1fb5 (patch)
treeeeb212d8a62a696a80b498ae91c2951387f5712c /Makefile.am
parentdocs: install README files into /var/log and 7etc/rc.d/init.d (diff)
downloadsystemd-dbc4fbae58e39cb0d33738f0a4d1e74511ed1fb5.tar.xz
systemd-dbc4fbae58e39cb0d33738f0a4d1e74511ed1fb5.zip
hostname: add new hostnamectl tool as text client for hostnamed
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index ad7a749cac..8e88c42c8f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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 += \