summaryrefslogtreecommitdiff
path: root/src/grp-locale
diff options
context:
space:
mode:
Diffstat (limited to 'src/grp-locale')
-rw-r--r--src/grp-locale/localectl/Makefile2
-rw-r--r--src/grp-locale/systemd-localed/.gitignore2
-rw-r--r--src/grp-locale/systemd-localed/Makefile3
3 files changed, 6 insertions, 1 deletions
diff --git a/src/grp-locale/localectl/Makefile b/src/grp-locale/localectl/Makefile
index 9a661bce68..d0023df124 100644
--- a/src/grp-locale/localectl/Makefile
+++ b/src/grp-locale/localectl/Makefile
@@ -24,6 +24,7 @@ include $(dir $(lastword $(MAKEFILE_LIST)))/../../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
ifneq ($(ENABLE_LOCALED),)
+
localectl_SOURCES = \
src/locale/localectl.c
@@ -38,6 +39,7 @@ dist_bashcompletion_data += \
dist_zshcompletion_data += \
shell-completion/zsh/_localectl
+
endif # ENABLE_LOCALED
include $(topsrcdir)/build-aux/Makefile.tail.mk
diff --git a/src/grp-locale/systemd-localed/.gitignore b/src/grp-locale/systemd-localed/.gitignore
index b1e0ba755e..6d9d6089c0 100644
--- a/src/grp-locale/systemd-localed/.gitignore
+++ b/src/grp-locale/systemd-localed/.gitignore
@@ -1 +1 @@
-org.freedesktop.locale1.policy
+/org.freedesktop.locale1.policy
diff --git a/src/grp-locale/systemd-localed/Makefile b/src/grp-locale/systemd-localed/Makefile
index 8c0c775d35..de38bb8576 100644
--- a/src/grp-locale/systemd-localed/Makefile
+++ b/src/grp-locale/systemd-localed/Makefile
@@ -73,4 +73,7 @@ polkitpolicy_in_files += \
EXTRA_DIST += \
units/systemd-localed.service.in
+sd.CPPFLAGS += -DSYSTEMD_KBD_MODEL_MAP=\"$(pkgdatadir)/kbd-model-map\"
+sd.CPPFLAGS += -DSYSTEMD_LANGUAGE_FALLBACK_MAP=\"$(pkgdatadir)/language-fallback-map\"
+
include $(topsrcdir)/build-aux/Makefile.tail.mk