tests: fix a trivial error in the engine test
[dconf.git] / editor / Makefile.am
blobeca1efa558f20a8eda85ce017db4c13f142e69e7
1 include $(top_srcdir)/Makefile.gtester
3 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/client
5 bin_PROGRAMS = dconf-editor
7 dconf_editor_VALAFLAGS = --vapidir ../client --pkg gtk+-3.0 --pkg gmodule-2.0 --pkg libxml-2.0 --pkg dconf
9 dconf_editor_LDADD = \
10         ../client/libdconf.so.1         \
11         $(gtk_LIBS)                     \
12         $(gee_LIBS)                     \
13         $(gmodule_LIBS)                 \
14         $(libxml_LIBS)
16 dconf_editor_CFLAGS = \
17         $(gtk_CFLAGS)                           \
18         $(gee_CFLAGS)                           \
19         $(libxml_CFLAGS)                        \
20         -DPKGDATADIR=\"$(pkgdatadir)\"          \
21         -DVERSION=\"$(VERSION)\"                \
22         -DLOCALEDIR=\"$(localedir)\"            \
23         -DGETTEXT_PACKAGE=\"$(GETTEXT_PACKAGE)\"\
24         -w
26 resource_data = \
27         dconf-editor.gresource.xml      \
28         dconf-editor-menu.ui            \
29         dconf-editor.ui
31 resources.c: $(resource_data)
32         $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --target=$@ --generate-source $<
34 nodist_dconf_editor_SOURCES = resources.c
36 dconf_editor_SOURCES = \
37         config.vapi             \
38         dconf-editor.vala       \
39         dconf-model.vala        \
40         dconf-schema.vala       \
41         dconf-view.vala
43 desktopdir = $(datadir)/applications
44 desktop_in_files = dconf-editor.desktop.in.in
45 desktop_DATA = $(desktop_in_files:.desktop.in.in=.desktop)
46 CLEANFILES = $(desktop_DATA) resources.c
47 @INTLTOOL_DESKTOP_RULE@
49 gsettings_SCHEMAS = ca.desrt.dconf-editor.gschema.xml
50 @GSETTINGS_RULES@
52 nobase_data_DATA = $(icons)
54 icons = \
55         icons/HighContrast/16x16/apps/dconf-editor.png          \
56         icons/HighContrast/22x22/apps/dconf-editor.png          \
57         icons/HighContrast/24x24/apps/dconf-editor.png          \
58         icons/HighContrast/32x32/apps/dconf-editor.png          \
59         icons/HighContrast/48x48/apps/dconf-editor.png          \
60         icons/HighContrast/256x256/apps/dconf-editor.png        \
61         icons/hicolor/16x16/apps/dconf-editor.png               \
62         icons/hicolor/22x22/apps/dconf-editor.png               \
63         icons/hicolor/24x24/apps/dconf-editor.png               \
64         icons/hicolor/32x32/apps/dconf-editor.png               \
65         icons/hicolor/48x48/apps/dconf-editor.png               \
66         icons/hicolor/64x64/apps/dconf-editor.png               \
67         icons/hicolor/256x256/apps/dconf-editor.png
69 install-data-hook: update-icon-cache
70 uninstall-hook: update-icon-cache
71 update-icon-cache:
72         if test -z "$(DESTDIR)"; then \
73                 gtk-update-icon-cache -f -t $(datadir)/icons/HighContrast; \
74                 gtk-update-icon-cache -f -t $(datadir)/icons/hicolor; \
75         fi
77 EXTRA_DIST = $(gsettings_SCHEMAS) $(icons) $(resource_data)