Skip to content

Commit

Permalink
Meson: use gnome.post_install
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit committed Nov 7, 2023
1 parent b5c18f6 commit 988889f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
1 change: 0 additions & 1 deletion data/meson.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
gnome = import('gnome')
gresource = gnome.compile_resources(
'dock-resources',
'dock.gresource.xml',
Expand Down
3 changes: 2 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ project(
version: '1.0.0'
)

gnome = import('gnome')
i18n = import('i18n')

add_global_arguments('-DGETTEXT_PACKAGE="@0@"'.format (meson.project_name()), language:'c')
Expand All @@ -24,7 +25,7 @@ dependencies = [
granite_dep
]

meson.add_install_script('meson/post_install.py')
gnome.post_install(glib_compile_schemas: true)

subdir('data')
subdir('src')
10 changes: 0 additions & 10 deletions meson/post_install.py

This file was deleted.

0 comments on commit 988889f

Please sign in to comment.