a try to install the .desktop file for the editor

if --enable-editor is set i would welcome some testing if it really
works...
This commit is contained in:
Nils Kneuper 2007-07-24 12:03:49 +00:00
parent 4d29aa0db8
commit a735324f4d

View file

@ -1,9 +1,16 @@
EXTRA_DIST = wesnoth.desktop wesnoth-icon.png
EXTRA_DIST = wesnoth.desktop wesnoth-icon.png wesnoth_editor.desktop wesnoth_editor-icon.png
if GAME_DESKTOP_ENTRY
if EDITOR
appentrydir = @APP_ENTRY@
dist_appentry_DATA = wesnoth.desktop wesnoth_editor.desktop
appicondir = @APP_ICON@
appicon_DATA = wesnoth-icon.png wesnoth_editor-icon.png
else
appentrydir = @APP_ENTRY@
dist_appentry_DATA = wesnoth.desktop
appicondir = @APP_ICON@
appicon_DATA = wesnoth-icon.png
endif
endif