summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build6
1 files changed, 3 insertions, 3 deletions
diff --git a/meson.build b/meson.build
index 499de00..d396a42 100644
--- a/meson.build
+++ b/meson.build
@@ -62,7 +62,7 @@ exe = executable('timer',
xdg_desktop_menu = find_program('xdg-desktop-menu', required: false,
native: true)
-if xdg_desktop_menu.found()
+if xdg_desktop_menu.found() and not get_option('debpkg')
meson.add_install_script(xdg_desktop_menu, 'install', '--novendor',
files('data/org.the_jk.timer.desktop'))
else
@@ -73,7 +73,7 @@ endif
xdg_icon_resource = find_program('xdg-icon-resource', required: false,
native: true)
-if xdg_icon_resource.found()
+if xdg_icon_resource.found() and not get_option('debpkg')
meson.add_install_script(xdg_icon_resource, 'install', '--novendor',
'--size', '128', files('data/org.the_jk.timer.png'))
else
@@ -82,7 +82,7 @@ else
gtk_update_icon_cache = find_program('gtk-update-icon-cache',
required: false, native: true)
- if gtk_update_icon_cache.found()
+ if gtk_update_icon_cache.found() and not get_option('debpkg')
meson.add_install_script(gtk_update_icon_cache, icon_path)
endif
endif