Added support for the freedesktop.org MIME system.

This commit is contained in:
Christian Neumair 2004-07-30 00:05:02 +00:00 committed by Alexandre Julliard
parent cead7c0e81
commit ee15af05ad
2 changed files with 16 additions and 2 deletions

View File

@ -28,6 +28,8 @@ INSTALLSUBDIRS = $(SUBDIRS)
EXTRASUBDIRS = winapi_check
UPDATE_DESKTOP_DATABASE = update-desktop-database
all: $(PROGRAMS) $(SUBDIRS)
@MAKE_RULES@
@ -46,13 +48,17 @@ wineprefixcreate: wineprefixcreate.in
chmod +x wineprefixcreate
install:: wineprefixcreate
$(MKINSTALLDIRS) $(bindir) $(mandir)/man$(prog_manext) $(datadir)/wine
$(MKINSTALLDIRS) $(bindir) $(mandir)/man$(prog_manext) $(datadir)/wine $(datadir)/applications
$(INSTALL_SCRIPT) $(SRCDIR)/winemaker $(bindir)/winemaker
$(INSTALL_SCRIPT) wineprefixcreate $(bindir)/wineprefixcreate
$(INSTALL_DATA) $(SRCDIR)/winemaker.man $(mandir)/man$(prog_manext)/winemaker.$(prog_manext)
$(INSTALL_DATA) $(SRCDIR)/wine.inf $(datadir)/wine/wine.inf
$(INSTALL_DATA) $(SRCDIR)/wine.desktop $(datadir)/applications/wine.desktop
-$(UPDATE_DESKTOP_DATABASE)
uninstall::
$(RM) $(bindir)/winemaker $(bindir)/wineprefixcreate $(mandir)/man$(prog_manext)/winemaker.$(prog_manext) $(datadir)/wine/wine.inf
$(RM) $(bindir)/winemaker $(bindir)/wineprefixcreate $(mandir)/man$(prog_manext)/winemaker.$(prog_manext) \
$(datadir)/wine/wine.inf $(datadir)/applications/wine.desktop
-$(UPDATE_DESKTOP_DATABASE)
### Dependencies:

8
tools/wine.desktop Normal file
View File

@ -0,0 +1,8 @@
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Wine Windows Emulator
Name[de]=Wine Windows-Emulator
Exec=wine %f
MimeType=application/x-ms-dos-executable
NoDisplay=true