aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorIgor Gnatenko <ignatenko@redhat.com>2016-12-05 14:27:05 +0100
committerJussi Pakkanen <jpakkane@gmail.com>2016-12-06 20:27:02 +0200
commitc9818c02ecd9750eb9fd95ce510a31eb1d99e1f7 (patch)
tree312c55a24e11c51fa1df951d36ceaf930da6d0e4 /data
parent66ed54a94e6511a72fa6a980108aea6301f6c60f (diff)
downloadmeson-c9818c02ecd9750eb9fd95ce510a31eb1d99e1f7.zip
meson-c9818c02ecd9750eb9fd95ce510a31eb1d99e1f7.tar.gz
meson-c9818c02ecd9750eb9fd95ce510a31eb1d99e1f7.tar.bz2
add builtin support for localstatedir
Reported-by: Richard Hughes <richard@hughsie.com> Closes: https://github.com/mesonbuild/meson/issues/1142 Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
Diffstat (limited to 'data')
-rw-r--r--data/macros.meson23
1 files changed, 12 insertions, 11 deletions
diff --git a/data/macros.meson b/data/macros.meson
index 4b91c70..97d8a23 100644
--- a/data/macros.meson
+++ b/data/macros.meson
@@ -10,17 +10,18 @@
export LDFLAGS="%{?__global_ldflags}" \
mkdir -p %{__builddir} \
pushd %{__builddir} \
- %{__meson} \\\
- --buildtype=plain \\\
- --prefix=%{_prefix} \\\
- --libdir=%{_libdir} \\\
- --libexecdir=%{_libexecdir} \\\
- --bindir=%{_bindir} \\\
- --includedir=%{_includedir} \\\
- --datadir=%{_datadir} \\\
- --mandir=%{_mandir} \\\
- --localedir=%{_datadir}/locale \\\
- --sysconfdir=%{_sysconfdir} \\\
+ %{__meson} \\\
+ --buildtype=plain \\\
+ --prefix=%{_prefix} \\\
+ --libdir=%{_libdir} \\\
+ --libexecdir=%{_libexecdir} \\\
+ --bindir=%{_bindir} \\\
+ --includedir=%{_includedir} \\\
+ --datadir=%{_datadir} \\\
+ --mandir=%{_mandir} \\\
+ --localedir=%{_datadir}/locale \\\
+ --sysconfdir=%{_sysconfdir} \\\
+ --localstatedir=%{_localstatedir} \\\
$OLDPWD/%{__sourcedir} \
popd