Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/data/Makefile.am
blob: 39835b31a4e58d4f2cde2d46c43d859867d25cda (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
63
64
65
66
67
68
69
70
@INTLTOOL_DESKTOP_RULE@
@INTLTOOL_SCHEMAS_RULE@

NULL =

uidir = $(pkgdatadir)
ui_DATA =				\
	evince-ui.xml			\
	evince-toolbar.xml		\
	hand-open.png			\
	$(NULL)

gladedir = $(pkgdatadir)
glade_DATA = 				\
	evince-password.glade		\
	evince-properties.glade		\
	$(NULL)

DESKTOP_IN_FILES= evince.desktop.in.in
DESKTOP_FILES= $(DESKTOP_IN_FILES:.desktop.in.in=.desktop)

desktopdir = $(datadir)/applications
desktop_DATA = $(DESKTOP_FILES)

schema_in_files = evince.schemas.in
schemadir = $(GCONF_SCHEMA_FILE_DIR)
schema_DATA = $(schema_in_files:.schemas.in=.schemas)

icon_16dir = $(datadir)/icons/hicolor/16x16/apps
icon_16_DATA = evince-16.png
icon_22dir = $(datadir)/icons/hicolor/22x22/apps
icon_22_DATA = evince-22.png
icondir = $(datadir)/icons/hicolor/48x48/apps
icon_DATA = evince.png
svgicondir = $(datadir)/icons/hicolor/scalable/apps
svgicon_DATA = evince.svg
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor

install-data-local:
if GCONF_SCHEMAS_INSTALL
	if test -z "$(DESTDIR)" ; then \
	for p in $(schema_DATA) ; do \
	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/data/$$p >&1 > /dev/null; \
	done \
	fi
endif
	if test -z "$(DESTDIR)"; then \
	        echo "Updating Gtk icon cache."; \
	        $(gtk_update_icon_cache); \
	else \
	        echo "*** Icon cache not updated.  After install, run this:"; \
	        echo "***   $(gtk_update_icon_cache)"; \
	        fi

EXTRA_DIST =				\
	$(glade_DATA)			\
	$(ui_DATA)			\
	$(DESKTOP_IN_FILES)		\
	$(schema_in_files)		\
	$(icon_16_DATA)			\
	$(icon_22_DATA)			\
	$(icon_DATA)			\
	$(svgicon_DATA)			\
	$(NULL)				

DISTCLEANFILES = \
	$(DESKTOP_FILES)	\
	$(schema_DATA)