summaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorSimon Howard2011-05-14 21:07:55 +0000
committerSimon Howard2011-05-14 21:07:55 +0000
commitd07b88e469abbb7c82d10fbe17473d529aaa4388 (patch)
tree7ba9255522d1c1785e1ece9b5603d60b96f44171 /setup
parent184ea9ba501adf04b9b352760774fde268c0cc7f (diff)
downloadchocolate-doom-d07b88e469abbb7c82d10fbe17473d529aaa4388.tar.gz
chocolate-doom-d07b88e469abbb7c82d10fbe17473d529aaa4388.tar.bz2
chocolate-doom-d07b88e469abbb7c82d10fbe17473d529aaa4388.zip
Add freedesktop.org desktop files for chocolate-doom, chocolate-setup
(thanks Adrián Chaves Fernández). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2337
Diffstat (limited to 'setup')
-rw-r--r--setup/.gitignore5
-rw-r--r--setup/Makefile.am6
-rw-r--r--setup/setup.desktop.in7
3 files changed, 17 insertions, 1 deletions
diff --git a/setup/.gitignore b/setup/.gitignore
index 37c8e4c1..ff78f4c5 100644
--- a/setup/.gitignore
+++ b/setup/.gitignore
@@ -1,7 +1,10 @@
Makefile.in
Makefile
.deps
-chocolate-setup
+setup-manifest.xml
+setup.desktop
+*-setup
+*-setup.desktop
*.rc
*.exe
tags
diff --git a/setup/Makefile.am b/setup/Makefile.am
index 96003ce0..37bea567 100644
--- a/setup/Makefile.am
+++ b/setup/Makefile.am
@@ -36,6 +36,12 @@ endif
@SDLMIXER_LIBS@ \
@LDFLAGS@
+appdir = $(prefix)/share/applications
+app_DATA = @PROGRAM_PREFIX@setup.desktop
+
+@PROGRAM_PREFIX@setup.desktop : setup.desktop
+ cp $^ $@
+
.rc.o:
$(WINDRES) $^ -o $@
%.o : %.rc
diff --git a/setup/setup.desktop.in b/setup/setup.desktop.in
new file mode 100644
index 00000000..79fb38be
--- /dev/null
+++ b/setup/setup.desktop.in
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Name=@PACKAGE_NAME@ Setup
+Exec=@PROGRAM_PREFIX@setup
+Icon=@PROGRAM_PREFIX@setup
+Type=Application
+Comment=Setup tool for @PACKAGE_NAME@
+Categories=Settings;ConsoleOnly;