[devhelp] meson: remove unused variable
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp] meson: remove unused variable
- Date: Fri, 23 Mar 2018 09:28:06 +0000 (UTC)
commit 43c110709c821a421ef7ae51d8b61e863763d449
Author: Sébastien Wilmet <swilmet gnome org>
Date: Fri Mar 23 10:20:24 2018 +0100
meson: remove unused variable
In docs/reference/meson.build there is the ignore_headers parameter, but
it also contains the list of headers in devhelp/future/.
After this commit there is no code duplication. Another way would be to
create a global variable and populate it in devhelp/ and
devhelp/future/, to use it in docs/reference/. There is no perfect
solution, global variables should be avoided if possible, but it would
be better to list the *.h files in their corresponding directory.
devhelp/meson.build | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/devhelp/meson.build b/devhelp/meson.build
index 1830d37..325579a 100644
--- a/devhelp/meson.build
+++ b/devhelp/meson.build
@@ -23,14 +23,6 @@ libdevhelp_public_c_files = [
'dh-sidebar.c'
]
-libdevhelp_private_headers = [
- 'dh-error.h',
- 'dh-parser.h',
- 'dh-search-context.h',
- 'dh-settings.h',
- 'dh-util-lib.h'
-]
-
libdevhelp_private_c_files = [
'dh-error.c',
'dh-parser.c',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]