summaryrefslogtreecommitdiff
path: root/thumbnailer/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'thumbnailer/Makefile.am')
-rw-r--r--thumbnailer/Makefile.am10
1 files changed, 4 insertions, 6 deletions
diff --git a/thumbnailer/Makefile.am b/thumbnailer/Makefile.am
index 4501ba7..04b56a7 100644
--- a/thumbnailer/Makefile.am
+++ b/thumbnailer/Makefile.am
@@ -1,34 +1,32 @@
NULL =
-bin_PROGRAMS = eom-thumbnailer
+if USE_INTERNAL_THUMBNAILER
+bin_PROGRAMS = eom-thumbnailer
eom_thumbnailer_SOURCES = \
eom-thumbnailer.c \
$(NULL)
-
eom_thumbnailer_CPPFLAGS = \
-I$(top_srcdir) \
-I$(top_builddir) \
$(AM_CPPFLAGS) \
$(NULL)
-
eom_thumbnailer_CFLAGS = \
$(THUMBNAILER_CFLAGS) \
$(DISABLE_DEPRECATED) \
$(WARN_CFLAGS) \
$(AM_CFLAGS) \
$(NULL)
-
eom_thumbnailer_LDFLAGS = \
$(AM_LDFLAGS) \
-lm \
$(THUMBNAILER_LIBS) \
$(NULL)
+endif
+
thumbnailerdir = $(datadir)/thumbnailers
thumbnailer_DATA = eom-thumbnailer.thumbnailer
-%.thumbnailer: %.thumbnailer.in
- $(AM_V_GEN) sed -e 's|@bindir[@]|$(bindir)|g' $< > $@
EXTRA_DIST = \
eom-thumbnailer.thumbnailer.in \