diff --git a/.gitignore b/.gitignore index b457cc0..792435c 100644 --- a/.gitignore +++ b/.gitignore @@ -24,6 +24,9 @@ config.h.in~ src/Makefile src/Makefile.in src/.deps +misc/Makefile +misc/Makefile.in +misc/.deps # Mac OS X *.DS_Store diff --git a/Makefile.am b/Makefile.am index 0e2193d..2a4bd24 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3,7 +3,7 @@ # http://creativecommons.org/publicdomain/zero/1.0/ for more # information. This file is offered as-is, without any warranty. -SUBDIRS = src +SUBDIRS = src misc dist_doc_DATA = README.txt COPYING LICENSES nobase_dist_doc_DATA = docs/* diff --git a/README.txt b/README.txt index c400d82..bd7b8be 100644 --- a/README.txt +++ b/README.txt @@ -1,9 +1,7 @@ -Copyright (C) 2015, 2016 onpon4 - -Copying and distribution of this file, with or without modification, -are permitted in any medium without royalty provided the copyright -notice and this notice are preserved. This file is offered as-is, -without any warranty. +This file has been dedicated to the public domain, to the extent +possible under applicable law, via CC0. See +http://creativecommons.org/publicdomain/zero/1.0/ for more +information. This file is offered as-is, without any warranty. ======================================================================== @@ -67,5 +65,11 @@ Run "./configure --help" to see more options. The third step ("make install") is technically optional, but highly recommended. -To play, simply run the "starfighter" binary. If you choose not to use -the "make install" command, you can find it in the "src" directory. +For most GNU/Linux systems, an icon should be added to your menu when +you run "make install". You can click on this icon to start up the game. +Otherwise, you can manually install or use the launcher found in the +"misc" directory, or you can run the "starfighter" command to start up +the game. + +If you choose not to use the "make install" command, you can find the +"starfighter" binary in the "src" directory. diff --git a/configure.ac b/configure.ac index 5b2b296..5d5e1f1 100644 --- a/configure.ac +++ b/configure.ac @@ -56,5 +56,6 @@ AC_CHECK_FUNCS([atexit mkdir]) AC_CONFIG_FILES([ Makefile src/Makefile + misc/Makefile ]) AC_OUTPUT diff --git a/misc/Makefile.am b/misc/Makefile.am new file mode 100644 index 0000000..947fa73 --- /dev/null +++ b/misc/Makefile.am @@ -0,0 +1,10 @@ +# This file has been dedicated to the public domain, to the extent +# possible under applicable law, via CC0. See +# http://creativecommons.org/publicdomain/zero/1.0/ for more +# information. This file is offered as-is, without any warranty. + +desktopdir = $(datadir)/applications +desktop_DATA = starfighter.desktop + +icondir = $(datadir)/pixmaps +icon_DATA = starfighter.png