mirror of
https://github.com/wine-mirror/wine
synced 2024-07-08 20:06:18 +00:00
Added support for the freedesktop.org MIME system.
This commit is contained in:
parent
cead7c0e81
commit
ee15af05ad
|
@ -28,6 +28,8 @@ INSTALLSUBDIRS = $(SUBDIRS)
|
||||||
|
|
||||||
EXTRASUBDIRS = winapi_check
|
EXTRASUBDIRS = winapi_check
|
||||||
|
|
||||||
|
UPDATE_DESKTOP_DATABASE = update-desktop-database
|
||||||
|
|
||||||
all: $(PROGRAMS) $(SUBDIRS)
|
all: $(PROGRAMS) $(SUBDIRS)
|
||||||
|
|
||||||
@MAKE_RULES@
|
@MAKE_RULES@
|
||||||
|
@ -46,13 +48,17 @@ wineprefixcreate: wineprefixcreate.in
|
||||||
chmod +x wineprefixcreate
|
chmod +x wineprefixcreate
|
||||||
|
|
||||||
install:: 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) $(SRCDIR)/winemaker $(bindir)/winemaker
|
||||||
$(INSTALL_SCRIPT) wineprefixcreate $(bindir)/wineprefixcreate
|
$(INSTALL_SCRIPT) wineprefixcreate $(bindir)/wineprefixcreate
|
||||||
$(INSTALL_DATA) $(SRCDIR)/winemaker.man $(mandir)/man$(prog_manext)/winemaker.$(prog_manext)
|
$(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.inf $(datadir)/wine/wine.inf
|
||||||
|
$(INSTALL_DATA) $(SRCDIR)/wine.desktop $(datadir)/applications/wine.desktop
|
||||||
|
-$(UPDATE_DESKTOP_DATABASE)
|
||||||
|
|
||||||
uninstall::
|
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:
|
### Dependencies:
|
||||||
|
|
8
tools/wine.desktop
Normal file
8
tools/wine.desktop
Normal 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
|
Loading…
Reference in New Issue
Block a user