summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--INSTALL.md4
-rw-r--r--meson.build20
2 files changed, 15 insertions, 9 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 7109c35..903e680 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -39,6 +39,10 @@ Options can be set by passing C-style "define" options to `configure`:
meson configure -Dc_args="-march=native" -Dprefix="/opt/mypackage/"
+Note that some options, such as `strict` and `werror` are for
+developer/maintainer use only. Please don't file issues about anything that
+happens when they are enabled.
+
Building
--------
diff --git a/meson.build b/meson.build
index 20642d8..fa4186e 100644
--- a/meson.build
+++ b/meson.build
@@ -237,15 +237,17 @@ install_man(files('doc/patchage.1'))
#########
if not get_option('tests').disabled() and not meson.is_subproject()
- # Check release metadata
- autoship = find_program('autoship', required: false)
- if autoship.found()
- test(
- 'autoship',
- autoship,
- args: ['test', patchage_src_root],
- suite: 'data',
- )
+ if get_option('strict')
+ # Check release metadata
+ autoship = find_program('autoship', required: false)
+ if autoship.found()
+ test(
+ 'autoship',
+ autoship,
+ args: ['test', patchage_src_root],
+ suite: 'data',
+ )
+ endif
endif
# Check licensing metadata