summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Dale <richard.dale@codethink.co.uk>2013-05-14 12:50:47 +0100
committerRichard Dale <richard.dale@codethink.co.uk>2013-05-14 12:50:47 +0100
commit62cdc4e1e4132a171108032c3488b2f029fc3a2b (patch)
treecb006b93084b253f3a9b140692325b98e2308c6a
parentb431e4da58b1144e8ac4ebe760bc8c710dd759be (diff)
downloadeterm-62cdc4e1e4132a171108032c3488b2f029fc3a2b.tar.gz
Add an eterm.desktop file
-rw-r--r--Makefile.am2
-rw-r--r--desktop/Makefile.am16
-rw-r--r--desktop/eterm.desktop16
3 files changed, 33 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index b03acbd..aefcf7f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,7 +2,7 @@
AUTOMAKE_OPTIONS = foreign
-SUBDIRS = src themes utils doc bg pix
+SUBDIRS = src themes utils doc bg pix desktop
EXTRA_DIST = LICENSE README ReleaseNotes ReleaseNotes.1 CVS-README ChangeLog autogen.sh Eterm.spec
MAINTAINERCLEANFILES = Makefile.in *~ aclocal.m4 config.guess config.sub configure depcomp \
diff --git a/desktop/Makefile.am b/desktop/Makefile.am
new file mode 100644
index 0000000..75e9d66
--- /dev/null
+++ b/desktop/Makefile.am
@@ -0,0 +1,16 @@
+# $Id$
+
+EXTRA_DIST = eterm.desktop
+
+desktopdir = /usr/share/application
+
+install-data-hook:
+ $(mkinstalldirs) $(DESTDIR)$(desktopdir)
+ @for i in $(EXTRA_DIST) ; do \
+ echo $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)${desktopdir} ; \
+ $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)${desktopdir} ; \
+ done
+
+uninstall-hook:
+ rm -rf $(DESTDIR)$(desktopdir)/$(EXTRA_DIST)
+MAINTAINERCLEANFILES=Makefile.in
diff --git a/desktop/eterm.desktop b/desktop/eterm.desktop
new file mode 100644
index 0000000..c42fc9a
--- /dev/null
+++ b/desktop/eterm.desktop
@@ -0,0 +1,16 @@
+[Desktop Entry]
+Type=Application
+Name=ETerm
+GenericName=Terminal
+GenericName[eo]=Terminalo
+GenericName[ru]=Терминал
+Comment=Run commands in a shell
+Comment[eo]=Lanĉi komandojn en ĉelo
+Comment[es]=Ejecute comandos en una consola
+Comment[gl]=Execute comandos nunha consola
+Comment[it]=Esegue comandi in una shell
+Comment[pt]=Execução de comandos na consola
+Comment[ru]=Запуск команд в командной оболочке
+Exec=Eterm
+Icon=xterm
+Categories=Utility;TerminalEmulator;System;