Nirbheek Chauhan
23f3cec9d0
Force installation dir options to be inside prefix
...
With the exception of things like sysconfdir (/etc), every other
installation directory option must be inside the prefix.
Also move the prefix checks to coredata.py since prefix can also be set
from inside project() with default_options and via mesonconf. Earlier
you could set prefix to a relative path that way.
This also allows us to return consistent values for get_option('xxxdir')
regardless of whether relative paths are passed or absolute paths are
passed while setting options on the command-line, via mesonconf, or via
default_options in project(). Now the returned path will *always* be
relative to the prefix.
Includes a unit test for this, and a failing test.
Closes #1299
8 years ago
Mike Sinkovsky
969be1f679
cleanup: Remove redundant parentheses
8 years ago
Mike Sinkovsky
5b626ab4cb
style: [E1**] Indentation
8 years ago
Igor Gnatenko
dd36847c4b
style: fix E202 violations
...
E202: whitespace before ']'
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
8 years ago
Igor Gnatenko
c13160034f
style: fix E201 violations
...
E201: whitespace after '['
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
8 years ago
Igor Gnatenko
969dc7e995
style: fix E124 violations
...
E124: closing bracket does not match visual indentation
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
8 years ago
Igor Gnatenko
116da33cdd
style: fix E128 violations
...
E128: continuation line under-indented for visual indent
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
8 years ago
Igor Gnatenko
f0b30baa39
style: fix E225 violations
...
E225: missing whitespace around operator
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
8 years ago
Jussi Pakkanen
b55235dfbd
Fix space before :.
8 years ago
Jussi Pakkanen
0a14ad63de
Add simple uninstall target. Closes #753 .
8 years ago
Jussi Pakkanen
415990f1ba
Version number bump for new development (again).
8 years ago
Jussi Pakkanen
3d4bfdcb22
Update version number for 0.37.1.
8 years ago
Nirbheek Chauhan
a4219760ba
clean-ctlist is a forbidden target name
...
No other target must be called this since we use it for calling the
`cleantrees.py` script.
8 years ago
Jussi Pakkanen
534066af1a
Version update for new development.
8 years ago
Jussi Pakkanen
d942243d50
Bump version number for release.
8 years ago
Igor Gnatenko
5bf22c5678
add support for $sharedstatedir
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
8 years ago
Igor Gnatenko
2962d3a66b
add support for $infodir
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
8 years ago
Igor Gnatenko
380b362fa4
add support for $sbindir
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
8 years ago
Igor Gnatenko
c9818c02ec
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>
8 years ago
Jussi Pakkanen
951262d759
Removed Valgrind from core.
8 years ago
Jussi Pakkanen
070c6a72b2
Bump version for new development.
8 years ago
Jussi Pakkanen
4e3073f90a
Updated version number for release.
8 years ago
Jussi Pakkanen
1cf787f281
Added reconfigure target that always reruns Meson.
8 years ago
Jussi Pakkanen
e0034fd6a5
A few sysconf fixes.
8 years ago
Jussi Pakkanen
b6b8d561b8
Raise proper exception type and improve error messages. Closes #322 .
8 years ago
Igor Gnatenko
a513bcfde6
allow libdir/includedir/etc. be absolute paths
...
In Fedora we don't care about prefix, we want to ensure that libdir
is /usr/lib64, localedir is /usr/share/locale, and cetera.
Additionally, we don't need to ensure that prefix is absolute as we
check it in main.
Fixes: cc19bf0f45
("Move option validation in objects rather than doing it only in the conf script.")
Closes: https://github.com/mesonbuild/meson/issues/869
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
8 years ago
Jussi Pakkanen
e2b3752f87
Show error log options in help.
8 years ago
Jussi Pakkanen
4e1388620f
Bump version number for new development.
8 years ago
Jussi Pakkanen
dc083b4fe7
Increment version number for release.
8 years ago
Jussi Pakkanen
69433025ca
Update version for new development.
8 years ago
Jussi Pakkanen
c013298426
Update version number for release.
8 years ago
Elliott Sales de Andrade
4c71695e41
Use context manager for file I/O.
...
There are a few cases where a context manager cannot be used, such as
the logger.
8 years ago
Jussi Pakkanen
a52154eba5
Change default and add explanatory comment for why we do that.
8 years ago
Jussi Pakkanen
c4ade56150
Added sysconfdir option. Closes #694 .
8 years ago
Jussi Pakkanen
4f6be39d26
Update version for new development.
8 years ago
Jussi Pakkanen
37ddadcd87
Raise version number for release.
8 years ago
Nirbheek Chauhan
c527e4a658
coredata: Descriptive parser exceptions for UserStringArrayOption
8 years ago
Jussi Pakkanen
9e37c8a308
Warn if PKG_CONFIG_PATH has changed because it may cause dependency detection to fail. Closes #626 .
9 years ago
Jussi Pakkanen
b6e8809f25
Added minsize build type that optimizes for binary size.
9 years ago
Hemmo Nieminen
fac6f869e0
Change test suite separator character from '-' to ':'.
...
This allows defining test suites for test-valgrind target without the risk
of e.g. being unable to differentiate the targets test-valgrind (testing
with valgrind) from test-valgrind (testing the valgrind subproject).
9 years ago
Jussi Pakkanen
50609054ec
Bump version number for new development.
9 years ago
Jussi Pakkanen
3d1c1b84e2
Update version number for release.
9 years ago
Nicolas Schneider
3bedca0257
add vs2015 backend
9 years ago
Jussi Pakkanen
92dfc4eb0b
Pch disabling works now.
9 years ago
Jussi Pakkanen
1a0938cc25
Automagic scan-build support.
9 years ago
Jussi Pakkanen
27134e8e04
Increment version number for new development.
9 years ago
Jussi Pakkanen
a952717b4f
Bump version number for release.
9 years ago
Hemmo Nieminen
2eb392cdc0
Implement errorlogs builtin option.
9 years ago
Hemmo Nieminen
7fb04c207b
Implement stdsplit builtin option.
9 years ago
Hemmo Nieminen
af6f4c9b9c
coredata: Centralize builtin option descriptions and definitions.
9 years ago