aboutsummaryrefslogtreecommitdiffstats
path: root/data/Makefile.am
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-06 11:23:26 -0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-06 19:11:12 -0300
commit0fc4cba2512f2c96bdf2071030d87ca54e81e871 (patch)
tree2eb726e17d9a9d2e57c5a2ed378e169efc8009dc /data/Makefile.am
parentbc84d7da7b151bedcc9b9d95117d1e2dadbc4a2e (diff)
Allow having different UIs depending on Gtk version
On Gtk3, several Widgets got obsoleted, being replaced by a different wigdet. For now, keep both gtk2 and gtk3 versions identical, e. g.: copied: camorama.ui -> camorama-gtk3.ui renamed: camorama.ui -> camorama-gtk2.ui The next patch will replace the obsolete widgets. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'data/Makefile.am')
-rw-r--r--data/Makefile.am10
1 files changed, 4 insertions, 6 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index a4b55d6..271c637 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -6,16 +6,14 @@ stuff_DATA = \
pixmaps/colourness.png \
pixmaps/brightness.png \
pixmaps/whiteness.png \
- pixmaps/stock-tool-hue-saturation-16.png
-
+ pixmaps/stock-tool-hue-saturation-16.png
+
gladedir = $(datadir)/camorama
-glade_DATA = \
- camorama.ui
+glade_DATA= $(CAMORAMA_UI)
schemadir = @GCONF_SCHEMA_FILE_DIR@
schema_in_files = camorama.schemas.in
schema_DATA = $(schema_in_files:.schemas.in=.schemas)
-# schema_DATA = camorama.schemas
# For the sake of some users
user-install: $(app_DATA) $(keys_DATA)
@@ -24,7 +22,7 @@ user-install: $(app_DATA) $(keys_DATA)
cp $(keys_DATA) ~/.gnome/mime-info/
install-data-local:
- GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schema_DATA)
+ GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schema_DATA)
$(GCONFTOOL) --shutdown
EXTRA_DIST = $(glade_DATA) $(schema_in_files) $(stuff_DATA)

Privacy Policy