[dia: 82/105] #19 cleanup: Move ui file handling to separate ui/meson.build.



commit 6755577091f1d43371e40ce574b446ab3be8d1f2
Author: Eduard Nicodei <eddnicodei gmail com>
Date:   Sat Jan 19 13:44:32 2019 +0000

    #19 cleanup: Move ui file handling to separate ui/meson.build.

 data/meson.build    | 18 +++---------------
 data/ui/meson.build | 13 +++++++++++++
 2 files changed, 16 insertions(+), 15 deletions(-)
---
diff --git a/data/meson.build b/data/meson.build
index 7ba47d82..7c984944 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -1,17 +1,5 @@
-ui_sources = [
-    'ui/display-ui.xml',
-    'ui/integrated-ui.xml',
-    'ui/popup-ui.xml',
-    'ui/sheets-edit-dialog.xml',
-    'ui/sheets-main-dialog.xml',
-    'ui/sheets-new-dialog.xml',
-    'ui/sheets-remove-dialog.xml',
-    'ui/toolbar-ui.xml',
-    'ui/toolbox-ui.xml'
-]
-
-install_data(ui_sources, install_dir : join_paths(pkgdatadir, 'ui'))
+subdir('icons')
+subdir('ui')
 
-install_data('dia-splash.png', install_dir : pkgdatadir)
+install_data('dia-splash.png', install_dir: pkgdatadir)
 
-subdir('icons')
diff --git a/data/ui/meson.build b/data/ui/meson.build
new file mode 100644
index 00000000..07af848b
--- /dev/null
+++ b/data/ui/meson.build
@@ -0,0 +1,13 @@
+ui_files = [
+    'display-ui.xml',
+    'integrated-ui.xml',
+    'popup-ui.xml',
+    'sheets-edit-dialog.xml',
+    'sheets-main-dialog.xml',
+    'sheets-new-dialog.xml',
+    'sheets-remove-dialog.xml',
+    'toolbar-ui.xml',
+    'toolbox-ui.xml'
+]
+
+install_data(ui_files, install_dir: join_paths(pkgdatadir, 'ui'))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]