summaryrefslogtreecommitdiff
path: root/data/Makefile.am
blob: 67f1b1e1c123d6f721063103ef699862d7853d2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
SUBDIRS = pixmaps icons

desktopdir = $(datadir)/applications
desktop_DATA = eom.desktop
desktop_in_files = $(desktop_DATA:.desktop=.desktop.in)
desktop_in_in_files = $(desktop_in_files:.desktop.in=.desktop.in.in)

$(desktop_DATA): $(desktop_in_files)
if USE_NLS
	$(AM_V_GEN) $(MSGFMT) --desktop --keyword= --keyword=Name --keyword=Comment --keyword=Keywords --template $< -d $(top_srcdir)/po -o $@
else
	$(AM_V_GEN) cp $< $@
endif

appdatadir = $(datadir)/metainfo
appdata_DATA = eom.appdata.xml
appdata_in_files = $(appdata_DATA:.xml=.xml.in)
appdata_in_in_files = $(appdata_in_files:.xml.in=.xml.in.in)

$(appdata_DATA): $(appdata_in_files)
if USE_NLS
	$(AM_V_GEN) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@
else
	$(AM_V_GEN) cp $< $@
endif

gsettings_ENUM_NAMESPACE = org.mate.eom
gsettings_ENUM_FILES = $(top_srcdir)/src/eom-scroll-view.h	\
                       $(top_srcdir)/src/eom-window.h

gsettings_SCHEMAS = org.mate.eom.gschema.xml
@GSETTINGS_RULES@

uidir = $(pkgdatadir)
ui_DATA = \
	eom-toolbar.xml

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = eom.pc

EXTRA_DIST = \
	$(ui_DATA)		\
	eom.css			\
	eom-image-properties-dialog.ui	\
	eom-multiple-save-as-dialog.ui	\
	eom-preferences-dialog.ui \
	eom-ui.xml		\
	metadata-sidebar.ui	\
	eom.about		\
	$(appdata_in_in_files)	\
	$(desktop_in_in_files)

CLEANFILES = \
	$(appdata_DATA) \
	$(desktop_DATA)

DISTCLEANFILES = \
	$(appdata_in_files) \
	$(desktop_in_files) \
	$(gsettings_SCHEMAS)

-include $(top_srcdir)/git.mk