summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvik
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2018-01-17 04:29:18 +0000
committerNorbert Preining <preining@logic.at>2018-01-17 04:29:18 +0000
commit345e6b3ddab394ae88cd0d916992bc2bc0f8695d (patch)
tree5f8aaa6c9f118624e6c0ce10661a47f29b6dae7d /Build/source/texk/xdvik
parentc14f1a3383f968a04d76809c02f643b21411d81c (diff)
xdvi: add .desktop and installation instruction in Makefile.am
git-svn-id: svn://tug.org/texlive/trunk@46347 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/xdvik')
-rw-r--r--Build/source/texk/xdvik/ChangeLog5
-rw-r--r--Build/source/texk/xdvik/Makefile.am3
-rw-r--r--Build/source/texk/xdvik/xdvi.desktop8
3 files changed, 16 insertions, 0 deletions
diff --git a/Build/source/texk/xdvik/ChangeLog b/Build/source/texk/xdvik/ChangeLog
index 981c18f7c1d..8d7cf8e0186 100644
--- a/Build/source/texk/xdvik/ChangeLog
+++ b/Build/source/texk/xdvik/ChangeLog
@@ -1,3 +1,8 @@
+2018-01-17 Norbert Preining <norbert@preining.info>
+
+ * add .desktop file
+ * Makefile.am: add desktop file installation
+
2017-08-07 Hironobu Yamashita <h.y.acetaminophen@gmail.com>
* Makefile.am: config.xdvi is installed under
diff --git a/Build/source/texk/xdvik/Makefile.am b/Build/source/texk/xdvik/Makefile.am
index ae3c583721c..16d3cca80d3 100644
--- a/Build/source/texk/xdvik/Makefile.am
+++ b/Build/source/texk/xdvik/Makefile.am
@@ -207,6 +207,9 @@ dist_pixmap_DATA = pixmaps/toolbar.xpm pixmaps/toolbar2.xpm
dvipsconfdir = $(datarootdir)/texmf-dist/dvips/xdvi
dist_noinst_DATA = texmf/config.xdvi
+desktopdir = $(datarootdir)/applications
+desktop_DATA = xdvi.desktop
+
install-data-hook:
@echo " $(MKDIR_P) '$(DESTDIR)$(dvipsconfdir)'"; \
$(MKDIR_P) "$(DESTDIR)$(dvipsconfdir)" || exit 1; \
diff --git a/Build/source/texk/xdvik/xdvi.desktop b/Build/source/texk/xdvik/xdvi.desktop
new file mode 100644
index 00000000000..500a349958f
--- /dev/null
+++ b/Build/source/texk/xdvik/xdvi.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=XDvi
+GenericName=DVI Viewer
+Exec=xdvi %f
+Type=Application
+Terminal=false
+Categories=Graphics;Viewer;
+Keywords=documents;