Commit ee15af05 authored by Christian Neumair's avatar Christian Neumair Committed by Alexandre Julliard

Added support for the freedesktop.org MIME system.

parent cead7c0e
......@@ -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:
[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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment