mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 22:41:10 +01:00
[meson] don't add_dist_script when we are subproject
Happens when harfbuzz is used as a meson subproject, `ERROR: add_dist_script may not be used in a subproject.`
This commit is contained in:
1 parent
175d93bbda
commit
a6bcc577a9
1 file changed
+3
-1
+3
-1
@@ -356,7 +356,9 @@ if not get_option('gtk_doc').disabled()
|
||||
subdir('docs')
|
||||
endif
|
||||
|
||||
meson.add_dist_script('write-tarball-revision.py')
|
||||
if not meson.is_subproject()
|
||||
meson.add_dist_script('write-tarball-revision.py')
|
||||
endif
|
||||
|
||||
configure_file(output: 'config.h', configuration: conf)
|
||||
|
||||
|
||||
Reference in new issue
Block a user