Skip to content

Commit

Permalink
don't install extra.mo files (elementary#47)
Browse files Browse the repository at this point in the history
* don't install extra.mo files

This uses the new "install" argument to the i18n.gettext() call in meson, which is only present in version 0.43.0 and later.

* README.md: note meson >= 0.43.0 requirement

* specify meson version >= 0.43 requirement in meson.build
  • Loading branch information
decathorpe authored and codygarver committed Jan 4, 2018
1 parent 81be3d7 commit 7b4be6b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
## Building, Testing, and Installation

You'll need the following dependencies:

* libgranite-dev
* meson
* meson >= 0.43.0
* valac

Run `meson build` to configure the build environment. Change to the build directory and run `ninja test` to build and run automated tests
Expand Down
5 changes: 4 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
project('io.elementary.calculator', 'vala', 'c')
project(
'io.elementary.calculator', 'vala', 'c',
meson_version : '>= 0.43'
)

i18n = import('i18n')

Expand Down
3 changes: 2 additions & 1 deletion po/extra/meson.build
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
i18n.gettext('extra',
args: '--directory=' + meson.source_root()
args: '--directory=' + meson.source_root(),
install: false
)

0 comments on commit 7b4be6b

Please sign in to comment.