diff options
author | raveit65 <[email protected]> | 2012-09-04 15:13:28 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2012-09-04 15:13:28 +0200 |
commit | b2a345f79c5adcc43efa37c980a6654f7e0135b4 (patch) | |
tree | d4dbef7a58c10757f17b8fcf8181f4b5d57abce8 | |
parent | 0cee6386acad57fdafb374fb389bc80fcf7e8546 (diff) | |
download | atril-b2a345f79c5adcc43efa37c980a6654f7e0135b4.tar.bz2 atril-b2a345f79c5adcc43efa37c980a6654f7e0135b4.tar.xz |
add thumbnailer file
-rw-r--r-- | thumbnailer/Makefile.am | 16 | ||||
-rw-r--r-- | thumbnailer/atril.thumbnailer.in | 6 |
2 files changed, 20 insertions, 2 deletions
diff --git a/thumbnailer/Makefile.am b/thumbnailer/Makefile.am index 776a9c67..9a0b69e6 100644 --- a/thumbnailer/Makefile.am +++ b/thumbnailer/Makefile.am @@ -28,6 +28,16 @@ atril_thumbnailer_LDADD = \ $(top_builddir)/libdocument/libatrildocument.la \ $(FRONTEND_LIBS) +thumbnailerdir = $(datadir)/thumbnailers +thumbnailer_in_files = atril.thumbnailer.in +thumbnailer_DATA = $(thumbnailer_in_files:.thumbnailer.in=.thumbnailer) + + +atril.thumbnailer: $(thumbnailer_in_files) + $(AM_V_GEN)sed \ + -e "s|\@ATRIL_MIME_TYPES\@|$(EVINCE_MIME_TYPES)|" \ + $< > $@ + schema_files = \ atril-thumbnailer-dvi.schemas.in \ atril-thumbnailer-djvu.schemas.in \ @@ -80,9 +90,11 @@ endif endif # WITH_MATECONF EXTRA_DIST = \ - $(schema_files) + $(schema_files) \ + $(thumbnailer_in_files) DISTCLEANFILES = \ - $(schema_DATA) + $(schema_DATA) \ + $(thumbnailer_DATA) -include $(top_srcdir)/git.mk diff --git a/thumbnailer/atril.thumbnailer.in b/thumbnailer/atril.thumbnailer.in new file mode 100644 index 00000000..0de63f80 --- /dev/null +++ b/thumbnailer/atril.thumbnailer.in @@ -0,0 +1,6 @@ +[Thumbnailer Entry] +TryExec=atril-thumbnailer +Exec=atril-thumbnailer -s %s %u %o +MimeType=@ATRIL_MIME_TYPES@ + + |