Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/thumbnailer/Makefile.am
blob: c7b3c85ca77614e2ffd6dcd3974c33b7d61c9e30 (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_SCHEMAS_RULE@

bin_PROGRAMS = evince-thumbnailer

evince_thumbnailer_SOURCES = \
	evince-thumbnailer.c

evince_thumbnailer_CPPFLAGS = \
	-DDATADIR=\"$(pkgdatadir)\"		\
	-I$(top_srcdir)				\
	-I$(top_builddir)			\
	-DGNOMELOCALEDIR=\"$(datadir)/locale\"	\
	-DGNOMEICONDIR=\""$(datadir)/pixmaps"\" \
	$(AM_CPPFLAGS)

evince_thumbnailer_CFLAGS = \
	$(FRONTEND_CFLAGS)	\
	$(DISABLE_DEPRECATED)	\
	$(WARN_CFLAGS)		\
	$(AM_CFLAGS)

evince_thumbnailer_LDADD = \
	$(top_builddir)/libdocument/libevdocument.la	\
	$(FRONTEND_LIBS)

schema_files = \
	evince-thumbnailer-dvi.schemas.in  \
	evince-thumbnailer-djvu.schemas.in \
	evince-thumbnailer-comics.schemas.in \
	evince-thumbnailer-ps.schemas.in \
	evince-thumbnailer.schemas.in

schema_DATA = 

if ENABLE_PDF
schema_DATA += evince-thumbnailer.schemas
endif

if ENABLE_PS
schema_DATA += evince-thumbnailer-ps.schemas
endif

if ENABLE_DJVU
schema_DATA += evince-thumbnailer-djvu.schemas
endif

if ENABLE_DVI
schema_DATA += evince-thumbnailer-dvi.schemas
endif

if ENABLE_COMICS
schema_DATA += evince-thumbnailer-comics.schemas
endif

schemadir = $(GCONF_SCHEMA_FILE_DIR)

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)/thumbnailer/$$p >&1 > /dev/null; \
	done \
	fi
endif

EXTRA_DIST =         	\
	$(schema_files)  

DISTCLEANFILES = \
	$(schema_DATA)