makefiles: Generate rules for installing l_intl.nls and wine.desktop.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
538263d0ef
commit
1a49f2e044
|
@ -19463,20 +19463,11 @@ $with_wine64/loader/wine-preloader:
|
||||||
clean::
|
clean::
|
||||||
\$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
|
\$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
|
||||||
else
|
else
|
||||||
WINELOADER_INSTALL="wine.inf"
|
WINELOADER_INSTALL="wine.inf l_intl.nls"
|
||||||
|
|
||||||
wine_fn_append_rule "install install-lib::
|
|
||||||
\$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
|
|
||||||
.PHONY: l_intl.nls/uninstall
|
|
||||||
l_intl.nls/uninstall::
|
|
||||||
\$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls
|
|
||||||
__uninstall__: l_intl.nls/uninstall"
|
|
||||||
case $host_os in
|
case $host_os in
|
||||||
cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
|
cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
|
||||||
*) wine_fn_append_rule "install install-lib::
|
*) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
|
||||||
\$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
|
|
||||||
uninstall::
|
|
||||||
\$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
|
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
15
configure.ac
15
configure.ac
|
@ -3957,21 +3957,10 @@ $with_wine64/loader/wine-preloader:
|
||||||
clean::
|
clean::
|
||||||
\$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader])
|
\$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader])
|
||||||
else
|
else
|
||||||
AC_SUBST(WINELOADER_INSTALL,"wine.inf")
|
AC_SUBST(WINELOADER_INSTALL,"wine.inf l_intl.nls")
|
||||||
WINE_APPEND_RULE(
|
|
||||||
[install install-lib::
|
|
||||||
\$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
|
|
||||||
.PHONY: l_intl.nls/uninstall
|
|
||||||
l_intl.nls/uninstall::
|
|
||||||
\$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls
|
|
||||||
__uninstall__: l_intl.nls/uninstall])
|
|
||||||
case $host_os in
|
case $host_os in
|
||||||
cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
|
cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
|
||||||
*) WINE_APPEND_RULE(
|
*) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
|
||||||
[install install-lib::
|
|
||||||
\$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
|
|
||||||
uninstall::
|
|
||||||
\$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop]) ;;
|
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -1,15 +1,13 @@
|
||||||
C_SRCS = \
|
SOURCES = \
|
||||||
|
l_intl.nls \
|
||||||
main.c \
|
main.c \
|
||||||
preloader.c
|
preloader.c \
|
||||||
|
|
||||||
MANPAGES = \
|
|
||||||
wine.de.UTF-8.man.in \
|
wine.de.UTF-8.man.in \
|
||||||
|
wine.desktop \
|
||||||
wine.fr.UTF-8.man.in \
|
wine.fr.UTF-8.man.in \
|
||||||
wine.man.in \
|
|
||||||
wine.pl.UTF-8.man.in
|
|
||||||
|
|
||||||
IN_SRCS = \
|
|
||||||
wine.inf.in \
|
wine.inf.in \
|
||||||
|
wine.man.in \
|
||||||
|
wine.pl.UTF-8.man.in \
|
||||||
wine_info.plist.in
|
wine_info.plist.in
|
||||||
|
|
||||||
PROGRAMS = $(WINELOADER_PROGRAMS)
|
PROGRAMS = $(WINELOADER_PROGRAMS)
|
||||||
|
|
|
@ -435,7 +435,7 @@ sub assign_sources_to_makefiles(@)
|
||||||
{
|
{
|
||||||
next unless defined ${$make}{"TESTDLL"};
|
next unless defined ${$make}{"TESTDLL"};
|
||||||
}
|
}
|
||||||
else
|
elsif ($dir ne "loader") # loader dir contains misc files
|
||||||
{
|
{
|
||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2635,6 +2635,26 @@ static void output_source_svg( struct makefile *make, struct incl_file *source,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************************************************
|
||||||
|
* output_source_nls
|
||||||
|
*/
|
||||||
|
static void output_source_nls( struct makefile *make, struct incl_file *source, const char *obj )
|
||||||
|
{
|
||||||
|
add_install_rule( make, source->name, source->name,
|
||||||
|
strmake( "D$(datadir)/wine/%s", source->name ));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************************************************
|
||||||
|
* output_source_desktop
|
||||||
|
*/
|
||||||
|
static void output_source_desktop( struct makefile *make, struct incl_file *source, const char *obj )
|
||||||
|
{
|
||||||
|
add_install_rule( make, source->name, source->name,
|
||||||
|
strmake( "D$(datadir)/applications/%s", source->name ));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*******************************************************************
|
/*******************************************************************
|
||||||
* output_source_po
|
* output_source_po
|
||||||
*/
|
*/
|
||||||
|
@ -2843,6 +2863,8 @@ static const struct
|
||||||
{ "tlb", output_source_tlb },
|
{ "tlb", output_source_tlb },
|
||||||
{ "sfd", output_source_sfd },
|
{ "sfd", output_source_sfd },
|
||||||
{ "svg", output_source_svg },
|
{ "svg", output_source_svg },
|
||||||
|
{ "nls", output_source_nls },
|
||||||
|
{ "desktop", output_source_desktop },
|
||||||
{ "po", output_source_po },
|
{ "po", output_source_po },
|
||||||
{ "in", output_source_in },
|
{ "in", output_source_in },
|
||||||
{ "x", output_source_x },
|
{ "x", output_source_x },
|
||||||
|
|
Loading…
Reference in New Issue