diff options
author | Bastien Nocera <hadess@hadess.net> | 2011-07-11 17:01:28 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-07-11 21:10:33 +0200 |
commit | 1c7dde3e475978c569a982d65fd86d4b4e3caad8 (patch) | |
tree | 7f7fe24a323c73d2575d1ae9f853977f6d70ad5b /Makefile.am | |
parent | 2376ce132bdba049f015b22b2db3a77c570aa154 (diff) |
build-sys: Add i18n support through intltool
And put the PolicyKit policy files up for translation.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am index 5cb4d29463..4acdb2e7fb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -17,6 +17,8 @@ ACLOCAL_AMFLAGS = -I m4 +SUBDIRS = po + # Dirs of external packages dbuspolicydir=@dbuspolicydir@ dbussessionservicedir=@dbussessionservicedir@ @@ -470,11 +472,14 @@ pkgconfigdata_DATA = \ nodist_polkitpolicy_DATA = \ src/org.freedesktop.systemd1.policy -dist_polkitpolicy_DATA = \ - src/org.freedesktop.hostname1.policy \ - src/org.freedesktop.locale1.policy \ - src/org.freedesktop.timedate1.policy \ - src/org.freedesktop.login1.policy +dist_polkitpolicy_in_files = \ + src/org.freedesktop.hostname1.policy.in \ + src/org.freedesktop.locale1.policy.in \ + src/org.freedesktop.timedate1.policy.in \ + src/org.freedesktop.login1.policy.in + +@INTLTOOL_POLICY_RULE@ +polkitpolicy_DATA = $(dist_polkitpolicy_in_files:.policy.in=.policy) noinst_LTLIBRARIES = \ libsystemd-basic.la \ @@ -1356,6 +1361,7 @@ CLEANFILES = \ $(nodist_man_MANS) \ ${XML_IN_FILES:.xml.in=.html} \ $(pkgconfigdata_DATA) \ + $(polkitpolicy_DATA) \ src/org.freedesktop.systemd1.policy if HAVE_VALAC |