summaryrefslogtreecommitdiff
path: root/backend/epub
diff options
context:
space:
mode:
Diffstat (limited to 'backend/epub')
-rw-r--r--backend/epub/Makefile.am13
-rw-r--r--backend/epub/epubdocument.atril-backend.desktop.in (renamed from backend/epub/epubdocument.atril-backend.in)2
2 files changed, 8 insertions, 7 deletions
diff --git a/backend/epub/Makefile.am b/backend/epub/Makefile.am
index dc34ad2b..c71a320b 100644
--- a/backend/epub/Makefile.am
+++ b/backend/epub/Makefile.am
@@ -22,16 +22,17 @@ libepubdocument_la_LIBADD = \
$(top_builddir)/libdocument/libatrildocument.la \
minizip/libminizip.la \
$(EPUB_LIBS) \
- $(BACKEND_LIBS)
-
+ $(BACKEND_LIBS)
-backend_in_files = epubdocument.atril-backend.in
-backend_DATA = $(backend_in_files:.atril-backend.in=.atril-backend)
+
+backend_in_files = epubdocument.atril-backend.desktop.in
+backend_DATA = $(backend_in_files:.atril-backend.desktop.in=.atril-backend)
+
+$(backend_DATA): $(backend_in_files)
+ $(AM_V_GEN) $(MSGFMT) --desktop --keyword=TypeDescription --template $< -d $(top_srcdir)/po -o $@
EXTRA_DIST = $(backend_in_files)
CLEANFILES = $(backend_DATA)
-@EV_INTLTOOL_ATRIL_BACKEND_RULE@
-
-include $(top_srcdir)/git.mk
diff --git a/backend/epub/epubdocument.atril-backend.in b/backend/epub/epubdocument.atril-backend.desktop.in
index ef7767eb..9c787594 100644
--- a/backend/epub/epubdocument.atril-backend.in
+++ b/backend/epub/epubdocument.atril-backend.desktop.in
@@ -1,4 +1,4 @@
[Atril Backend]
Module=epubdocument
-_TypeDescription=epub Documents
+TypeDescription=epub Documents
MimeType=application/epub+zip;