mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
localed: move sources to subdirectory
This commit is contained in:
parent
4668191d02
commit
1822350db1
60
Makefile.am
60
Makefile.am
@ -207,11 +207,6 @@ rootlibexec_PROGRAMS += \
|
|||||||
systemd-hostnamed
|
systemd-hostnamed
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if ENABLE_LOCALED
|
|
||||||
rootlibexec_PROGRAMS += \
|
|
||||||
systemd-localed
|
|
||||||
endif
|
|
||||||
|
|
||||||
systemgenerator_PROGRAMS = \
|
systemgenerator_PROGRAMS = \
|
||||||
systemd-getty-generator
|
systemd-getty-generator
|
||||||
|
|
||||||
@ -438,11 +433,6 @@ nodist_systemunit_DATA += \
|
|||||||
units/systemd-hostnamed.service
|
units/systemd-hostnamed.service
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if ENABLE_LOCALED
|
|
||||||
nodist_systemunit_DATA += \
|
|
||||||
units/systemd-localed.service
|
|
||||||
endif
|
|
||||||
|
|
||||||
dist_userunit_DATA = \
|
dist_userunit_DATA = \
|
||||||
units/user/default.target \
|
units/user/default.target \
|
||||||
units/user/exit.target
|
units/user/exit.target
|
||||||
@ -507,11 +497,6 @@ EXTRA_DIST += \
|
|||||||
units/systemd-hostnamed.service.in
|
units/systemd-hostnamed.service.in
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if ENABLE_LOCALED
|
|
||||||
EXTRA_DIST += \
|
|
||||||
units/systemd-localed.service.in
|
|
||||||
endif
|
|
||||||
|
|
||||||
if TARGET_FEDORA
|
if TARGET_FEDORA
|
||||||
dist_systemunit_DATA += \
|
dist_systemunit_DATA += \
|
||||||
units/fedora/prefdm.service \
|
units/fedora/prefdm.service \
|
||||||
@ -1109,6 +1094,12 @@ systemd_shutdownd_LDADD = \
|
|||||||
libsystemd-basic.la \
|
libsystemd-basic.la \
|
||||||
libsystemd-daemon.la
|
libsystemd-daemon.la
|
||||||
|
|
||||||
|
dist_pkgdata_DATA = \
|
||||||
|
src/kbd-model-map
|
||||||
|
|
||||||
|
dist_noinst_SCRIPT = \
|
||||||
|
src/generate-kbd-model-map
|
||||||
|
|
||||||
systemd_hostnamed_SOURCES = \
|
systemd_hostnamed_SOURCES = \
|
||||||
src/hostnamed.c \
|
src/hostnamed.c \
|
||||||
src/dbus-common.c \
|
src/dbus-common.c \
|
||||||
@ -1123,8 +1114,10 @@ systemd_hostnamed_LDADD = \
|
|||||||
libsystemd-daemon.la \
|
libsystemd-daemon.la \
|
||||||
$(DBUS_LIBS)
|
$(DBUS_LIBS)
|
||||||
|
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
if ENABLE_LOCALED
|
||||||
systemd_localed_SOURCES = \
|
systemd_localed_SOURCES = \
|
||||||
src/localed.c \
|
src/locale/localed.c \
|
||||||
src/dbus-common.c \
|
src/dbus-common.c \
|
||||||
src/polkit.c
|
src/polkit.c
|
||||||
|
|
||||||
@ -1137,11 +1130,28 @@ systemd_localed_LDADD = \
|
|||||||
libsystemd-daemon.la \
|
libsystemd-daemon.la \
|
||||||
$(DBUS_LIBS)
|
$(DBUS_LIBS)
|
||||||
|
|
||||||
dist_pkgdata_DATA = \
|
nodist_systemunit_DATA += \
|
||||||
src/kbd-model-map
|
units/systemd-localed.service
|
||||||
|
|
||||||
dist_noinst_SCRIPT = \
|
rootlibexec_PROGRAMS += \
|
||||||
src/generate-kbd-model-map
|
systemd-localed
|
||||||
|
|
||||||
|
org.freedesktop.locale1.xml: systemd-localed
|
||||||
|
$(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.locale1 $< $@.tmp && \
|
||||||
|
$(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
|
||||||
|
$(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
|
||||||
|
|
||||||
|
localed-install-data-hook:
|
||||||
|
( cd $(DESTDIR)$(systemunitdir) && \
|
||||||
|
rm -f dbus-org.freedesktop.locale1.service && \
|
||||||
|
$(LN_S) systemd-localed.service dbus-org.freedesktop.locale1.service )
|
||||||
|
|
||||||
|
INSTALL_DATA_HOOKS += \
|
||||||
|
localed-install-data-hook
|
||||||
|
|
||||||
|
EXTRA_DIST += \
|
||||||
|
units/systemd-localed.service.in
|
||||||
|
endif
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
if ENABLE_TIMEDATED
|
if ENABLE_TIMEDATED
|
||||||
@ -2035,11 +2045,6 @@ org.freedesktop.hostname1.xml: systemd-hostnamed
|
|||||||
$(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.locale1.xml: systemd-localed
|
|
||||||
$(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.locale1 $< $@.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_HOSTNAMED
|
|||||||
( cd $(DESTDIR)$(systemunitdir) && \
|
( cd $(DESTDIR)$(systemunitdir) && \
|
||||||
rm -f dbus-org.freedesktop.hostname1.service && \
|
rm -f dbus-org.freedesktop.hostname1.service && \
|
||||||
$(LN_S) systemd-hostnamed.service dbus-org.freedesktop.hostname1.service )
|
$(LN_S) systemd-hostnamed.service dbus-org.freedesktop.hostname1.service )
|
||||||
endif
|
|
||||||
if ENABLE_LOCALED
|
|
||||||
( cd $(DESTDIR)$(systemunitdir) && \
|
|
||||||
rm -f dbus-org.freedesktop.locale1.service && \
|
|
||||||
$(LN_S) systemd-localed.service dbus-org.freedesktop.locale1.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 && \
|
||||||
|
@ -12,7 +12,7 @@ src/dbus-target.c
|
|||||||
src/dbus-timer.c
|
src/dbus-timer.c
|
||||||
src/dbus-unit.c
|
src/dbus-unit.c
|
||||||
src/hostnamed.c
|
src/hostnamed.c
|
||||||
src/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
|
||||||
units/systemd-readahead-done.service.in
|
units/systemd-readahead-done.service.in
|
||||||
|
1429
src/locale/localed.c
Normal file
1429
src/locale/localed.c
Normal file
File diff suppressed because it is too large
Load Diff
1429
src/localed.c
1429
src/localed.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user