summaryrefslogtreecommitdiff
path: root/backend/ps
diff options
context:
space:
mode:
Diffstat (limited to 'backend/ps')
-rw-r--r--backend/ps/Makefile.am9
-rw-r--r--backend/ps/psdocument.atril-backend.desktop.in (renamed from backend/ps/psdocument.atril-backend.in)2
2 files changed, 6 insertions, 5 deletions
diff --git a/backend/ps/Makefile.am b/backend/ps/Makefile.am
index ba65b5be..0cac11ff 100644
--- a/backend/ps/Makefile.am
+++ b/backend/ps/Makefile.am
@@ -20,13 +20,14 @@ libpsdocument_la_LIBADD = \
$(BACKEND_LIBS) \
$(SPECTRE_LIBS)
-backend_in_files = psdocument.atril-backend.in
-backend_DATA = $(backend_in_files:.atril-backend.in=.atril-backend)
+backend_in_files = psdocument.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/ps/psdocument.atril-backend.in b/backend/ps/psdocument.atril-backend.desktop.in
index 8b559a58..3b5f99de 100644
--- a/backend/ps/psdocument.atril-backend.in
+++ b/backend/ps/psdocument.atril-backend.desktop.in
@@ -1,5 +1,5 @@
[Atril Backend]
Module=psdocument
Resident=true
-_TypeDescription=PostScript Documents
+TypeDescription=PostScript Documents
MimeType=application/postscript;application/x-bzpostscript;application/x-gzpostscript;image/x-eps;image/x-bzeps;image/x-gzeps