diff options
Diffstat (limited to 'setup')
-rw-r--r-- | setup/.gitignore | 5 | ||||
-rw-r--r-- | setup/Makefile.am | 6 | ||||
-rw-r--r-- | setup/setup.desktop.in | 7 |
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; |