makefiles: Move wine.desktop to the loader directory.
Also don't install it on Mac OS X or Android. Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
581be47a45
commit
2207a8907c
|
@ -8825,6 +8825,15 @@ $wine_binary: main.o
|
||||||
wine-installed: main.o
|
wine-installed: main.o
|
||||||
\$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
|
\$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
|
||||||
"
|
"
|
||||||
|
if test -z "$with_wine64"
|
||||||
|
then
|
||||||
|
as_fn_append LOADER_RULES "
|
||||||
|
install install-lib::
|
||||||
|
\$(INSTALL_DATA) \$(srcdir)/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
|
||||||
|
uninstall::
|
||||||
|
\$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop
|
||||||
|
"
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -18116,7 +18125,7 @@ wine_fn_config_program wusa enable_wusa install
|
||||||
wine_fn_config_program xcopy enable_xcopy install,po
|
wine_fn_config_program xcopy enable_xcopy install,po
|
||||||
wine_fn_config_test programs/xcopy/tests xcopy.exe_test
|
wine_fn_config_test programs/xcopy/tests xcopy.exe_test
|
||||||
wine_fn_config_makefile server enable_server clean,install-lib,manpage
|
wine_fn_config_makefile server enable_server clean,install-lib,manpage
|
||||||
wine_fn_config_tool tools clean,install-dev,install-lib,manpage
|
wine_fn_config_tool tools clean,install-dev,manpage
|
||||||
wine_fn_config_tool tools/sfnt2fon clean
|
wine_fn_config_tool tools/sfnt2fon clean
|
||||||
wine_fn_config_tool tools/widl clean,install-dev,manpage
|
wine_fn_config_tool tools/widl clean,install-dev,manpage
|
||||||
wine_fn_config_tool tools/winebuild clean,install-dev,manpage
|
wine_fn_config_tool tools/winebuild clean,install-dev,manpage
|
||||||
|
|
11
configure.ac
11
configure.ac
|
@ -1039,6 +1039,15 @@ $wine_binary: main.o
|
||||||
wine-installed: main.o
|
wine-installed: main.o
|
||||||
\$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
|
\$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
|
||||||
"])
|
"])
|
||||||
|
if test -z "$with_wine64"
|
||||||
|
then
|
||||||
|
AS_VAR_APPEND([LOADER_RULES],["
|
||||||
|
install install-lib::
|
||||||
|
\$(INSTALL_DATA) \$(srcdir)/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
|
||||||
|
uninstall::
|
||||||
|
\$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop
|
||||||
|
"])
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -3589,7 +3598,7 @@ WINE_CONFIG_PROGRAM(wusa,,[install])
|
||||||
WINE_CONFIG_PROGRAM(xcopy,,[install,po])
|
WINE_CONFIG_PROGRAM(xcopy,,[install,po])
|
||||||
WINE_CONFIG_TEST(programs/xcopy/tests)
|
WINE_CONFIG_TEST(programs/xcopy/tests)
|
||||||
WINE_CONFIG_MAKEFILE([server],,[clean,install-lib,manpage])
|
WINE_CONFIG_MAKEFILE([server],,[clean,install-lib,manpage])
|
||||||
WINE_CONFIG_TOOL(tools,[clean,install-dev,install-lib,manpage])
|
WINE_CONFIG_TOOL(tools,[clean,install-dev,manpage])
|
||||||
WINE_CONFIG_TOOL(tools/sfnt2fon,[clean])
|
WINE_CONFIG_TOOL(tools/sfnt2fon,[clean])
|
||||||
WINE_CONFIG_TOOL(tools/widl,[clean,install-dev,manpage])
|
WINE_CONFIG_TOOL(tools/widl,[clean,install-dev,manpage])
|
||||||
WINE_CONFIG_TOOL(tools/winebuild,[clean,install-dev,manpage])
|
WINE_CONFIG_TOOL(tools/winebuild,[clean,install-dev,manpage])
|
||||||
|
|
|
@ -18,13 +18,10 @@ all: wineapploader
|
||||||
make_xftmpl$(EXEEXT): make_xftmpl.o
|
make_xftmpl$(EXEEXT): make_xftmpl.o
|
||||||
$(CC) $(CFLAGS) -o $@ make_xftmpl.o $(LIBPORT) $(LDFLAGS)
|
$(CC) $(CFLAGS) -o $@ make_xftmpl.o $(LIBPORT) $(LDFLAGS)
|
||||||
|
|
||||||
.PHONY: install install-lib install-dev uninstall
|
.PHONY: install install-dev uninstall
|
||||||
|
|
||||||
install install-lib::
|
|
||||||
$(INSTALL_DATA) $(srcdir)/wine.desktop $(DESTDIR)$(datadir)/applications/wine.desktop
|
|
||||||
|
|
||||||
install install-dev:: install-man-pages
|
install install-dev:: install-man-pages
|
||||||
$(INSTALL_SCRIPT) $(srcdir)/winemaker $(DESTDIR)$(bindir)/winemaker
|
$(INSTALL_SCRIPT) $(srcdir)/winemaker $(DESTDIR)$(bindir)/winemaker
|
||||||
|
|
||||||
uninstall::
|
uninstall::
|
||||||
$(RM) $(DESTDIR)$(datadir)/applications/wine.desktop $(DESTDIR)$(bindir)/winemaker
|
$(RM) $(DESTDIR)$(bindir)/winemaker
|
||||||
|
|
Loading…
Reference in New Issue