mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
hostnamed: move sources to subdirectory
This commit is contained in:
parent
1822350db1
commit
00c36f274b
52
Makefile.am
52
Makefile.am
@ -202,11 +202,6 @@ rootlibexec_PROGRAMS += \
|
|||||||
systemd-binfmt
|
systemd-binfmt
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if ENABLE_HOSTNAMED
|
|
||||||
rootlibexec_PROGRAMS += \
|
|
||||||
systemd-hostnamed
|
|
||||||
endif
|
|
||||||
|
|
||||||
systemgenerator_PROGRAMS = \
|
systemgenerator_PROGRAMS = \
|
||||||
systemd-getty-generator
|
systemd-getty-generator
|
||||||
|
|
||||||
@ -428,11 +423,6 @@ nodist_systemunit_DATA += \
|
|||||||
units/systemd-binfmt.service
|
units/systemd-binfmt.service
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if ENABLE_HOSTNAMED
|
|
||||||
nodist_systemunit_DATA += \
|
|
||||||
units/systemd-hostnamed.service
|
|
||||||
endif
|
|
||||||
|
|
||||||
dist_userunit_DATA = \
|
dist_userunit_DATA = \
|
||||||
units/user/default.target \
|
units/user/default.target \
|
||||||
units/user/exit.target
|
units/user/exit.target
|
||||||
@ -492,11 +482,6 @@ EXTRA_DIST += \
|
|||||||
units/systemd-binfmt.service.in
|
units/systemd-binfmt.service.in
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if ENABLE_HOSTNAMED
|
|
||||||
EXTRA_DIST += \
|
|
||||||
units/systemd-hostnamed.service.in
|
|
||||||
endif
|
|
||||||
|
|
||||||
if TARGET_FEDORA
|
if TARGET_FEDORA
|
||||||
dist_systemunit_DATA += \
|
dist_systemunit_DATA += \
|
||||||
units/fedora/prefdm.service \
|
units/fedora/prefdm.service \
|
||||||
@ -1100,8 +1085,10 @@ dist_pkgdata_DATA = \
|
|||||||
dist_noinst_SCRIPT = \
|
dist_noinst_SCRIPT = \
|
||||||
src/generate-kbd-model-map
|
src/generate-kbd-model-map
|
||||||
|
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
if ENABLE_HOSTNAMED
|
||||||
systemd_hostnamed_SOURCES = \
|
systemd_hostnamed_SOURCES = \
|
||||||
src/hostnamed.c \
|
src/hostname/hostnamed.c \
|
||||||
src/dbus-common.c \
|
src/dbus-common.c \
|
||||||
src/polkit.c
|
src/polkit.c
|
||||||
|
|
||||||
@ -1114,6 +1101,29 @@ systemd_hostnamed_LDADD = \
|
|||||||
libsystemd-daemon.la \
|
libsystemd-daemon.la \
|
||||||
$(DBUS_LIBS)
|
$(DBUS_LIBS)
|
||||||
|
|
||||||
|
rootlibexec_PROGRAMS += \
|
||||||
|
systemd-hostnamed
|
||||||
|
|
||||||
|
nodist_systemunit_DATA += \
|
||||||
|
units/systemd-hostnamed.service
|
||||||
|
|
||||||
|
org.freedesktop.hostname1.xml: systemd-hostnamed
|
||||||
|
$(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.hostname1 $< $@.tmp && \
|
||||||
|
$(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
|
||||||
|
$(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
|
||||||
|
|
||||||
|
hostnamed-install-data-hook:
|
||||||
|
( cd $(DESTDIR)$(systemunitdir) && \
|
||||||
|
rm -f dbus-org.freedesktop.hostname1.service && \
|
||||||
|
$(LN_S) systemd-hostnamed.service dbus-org.freedesktop.hostname1.service )
|
||||||
|
|
||||||
|
INSTALL_DATA_HOOKS += \
|
||||||
|
hostnamed-install-data-hook
|
||||||
|
|
||||||
|
EXTRA_DIST += \
|
||||||
|
units/systemd-hostnamed.service.in
|
||||||
|
endif
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
if ENABLE_LOCALED
|
if ENABLE_LOCALED
|
||||||
systemd_localed_SOURCES = \
|
systemd_localed_SOURCES = \
|
||||||
@ -2040,11 +2050,6 @@ org.freedesktop.systemd1.%.xml: systemd
|
|||||||
$(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
|
$(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
|
||||||
$(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
|
$(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
|
||||||
|
|
||||||
org.freedesktop.hostname1.xml: systemd-hostnamed
|
|
||||||
$(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.hostname1 $< $@.tmp && \
|
|
||||||
$(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
|
|
||||||
$(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
|
|
||||||
|
|
||||||
CLEANFILES += \
|
CLEANFILES += \
|
||||||
$(dbusinterface_DATA)
|
$(dbusinterface_DATA)
|
||||||
|
|
||||||
@ -2195,11 +2200,6 @@ if ENABLE_BINFMT
|
|||||||
proc-sys-fs-binfmt_misc.automount && \
|
proc-sys-fs-binfmt_misc.automount && \
|
||||||
$(LN_S) ../systemd-binfmt.service systemd-binfmt.service && \
|
$(LN_S) ../systemd-binfmt.service systemd-binfmt.service && \
|
||||||
$(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount )
|
$(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount )
|
||||||
endif
|
|
||||||
if ENABLE_HOSTNAMED
|
|
||||||
( cd $(DESTDIR)$(systemunitdir) && \
|
|
||||||
rm -f dbus-org.freedesktop.hostname1.service && \
|
|
||||||
$(LN_S) systemd-hostnamed.service dbus-org.freedesktop.hostname1.service )
|
|
||||||
endif
|
endif
|
||||||
( cd $(DESTDIR)$(systemunitdir)/basic.target.wants && \
|
( cd $(DESTDIR)$(systemunitdir)/basic.target.wants && \
|
||||||
rm -f systemd-tmpfiles-clean.timer && \
|
rm -f systemd-tmpfiles-clean.timer && \
|
||||||
|
1
po/.gitignore
vendored
1
po/.gitignore
vendored
@ -2,3 +2,4 @@ POTFILES
|
|||||||
Makefile.in.in
|
Makefile.in.in
|
||||||
.intltool-merge-cache
|
.intltool-merge-cache
|
||||||
Makefile
|
Makefile
|
||||||
|
systemd.pot
|
||||||
|
@ -11,7 +11,7 @@ src/dbus-swap.c
|
|||||||
src/dbus-target.c
|
src/dbus-target.c
|
||||||
src/dbus-timer.c
|
src/dbus-timer.c
|
||||||
src/dbus-unit.c
|
src/dbus-unit.c
|
||||||
src/hostnamed.c
|
src/hostname/hostnamed.c
|
||||||
src/locale/localed.c
|
src/locale/localed.c
|
||||||
src/org.freedesktop.systemd1.policy.in.in
|
src/org.freedesktop.systemd1.policy.in.in
|
||||||
src/timedate/timedated.c
|
src/timedate/timedated.c
|
||||||
|
Loading…
Reference in New Issue
Block a user