Build system: Add option to pack the extension

This commit is contained in:
Romain Vigier
2022-05-24 23:42:06 +02:00
parent e9de843b08
commit c1162a5403
6 changed files with 44 additions and 6 deletions
+4
View File
@@ -13,6 +13,10 @@ DNS = 'org.gnome.shell.extensions.nightthemeswitcher'
INSTALL_DIR = get_option('datadir') / 'gnome-shell' / 'extensions' / UUID
if (get_option('pack'))
INSTALL_DIR = meson.project_build_root() / UUID
endif
gnome = import('gnome')
i18n = import('i18n')