]> thyrsus.com Git - bluemoon.git/commitdiff
Add desktop file.
authorEric S. Raymond <esr@thyrsus.com>
Wed, 21 May 2014 12:28:04 +0000 (08:28 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Wed, 21 May 2014 12:28:04 +0000 (08:28 -0400)
Makefile
bluemoon.desktop [new file with mode: 0644]

index daeb7a682cc3fa18f2c0981ac3e88c6951dfa463..b50c871e43a91a8ca4ae410d460b95dc41f26f86 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
 
 VERS=2.11
 
-SOURCES = README COPYING NEWS Makefile control bluemoon.c bluemoon.xml bluemoon.png
+SOURCES = README COPYING NEWS Makefile control bluemoon.c bluemoon.xml bluemoon.png bluemoon.desktop
 CFLAGS=-O
 
 bluemoon: bluemoon.c
@@ -23,6 +23,7 @@ bluemoon-$(VERS).tar.gz: $(SOURCES) bluemoon.6
 clean:
        rm -f bluemoon *.tar.gz *.6 *.html *~
 
+# Note: does not intall the desktop file
 install: bluemoon.6 uninstall
        cp bluemoon /usr/bin
        cp bluemoon.6 /usr/share/man/man6/bluemoon.6
diff --git a/bluemoon.desktop b/bluemoon.desktop
new file mode 100644 (file)
index 0000000..3255a76
--- /dev/null
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=Blue Moon
+GenericName=Blue Moon game
+Comment=Blue Moon card solitaire
+Icon=bluemoon
+Exec=bluemoon
+Categories=Game;CardGame;
+Terminal=true