Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
1a49f2e0
Commit
1a49f2e0
authored
Feb 19, 2018
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefiles: Generate rules for installing l_intl.nls and wine.desktop.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
538263d0
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
34 additions
and
34 deletions
+34
-34
configure
configure
+3
-12
configure.ac
configure.ac
+2
-13
Makefile.in
loader/Makefile.in
+6
-8
make_makefiles
tools/make_makefiles
+1
-1
makedep.c
tools/makedep.c
+22
-0
No files found.
configure
View file @
1a49f2e0
...
...
@@ -19463,20 +19463,11 @@ $with_wine64/loader/wine-preloader:
clean::
\$
(RM) fonts server
$with_wine64
/loader/wine
$with_wine64
/loader/wine-preloader"
else
WINELOADER_INSTALL
=
"wine.inf"
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"
WINELOADER_INSTALL
=
"wine.inf l_intl.nls"
case
$host_os
in
cygwin
*
|
mingw32
*
|
darwin
*
|
macosx
*
|
linux-android
*
)
;;
*
)
wine_fn_append_rule
"install install-lib::
\$
(INSTALL_DATA)
$srcdir
/loader/wine.desktop
\$
(DESTDIR)
\$
(datadir)/applications/wine.desktop
uninstall::
\$
(RM)
\$
(DESTDIR)
\$
(datadir)/applications/wine.desktop"
;;
*
)
WINELOADER_INSTALL
=
"
$WINELOADER_INSTALL
wine.desktop"
;;
esac
fi
...
...
configure.ac
View file @
1a49f2e0
...
...
@@ -3957,21 +3957,10 @@ $with_wine64/loader/wine-preloader:
clean::
\$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader])
else
AC_SUBST(WINELOADER_INSTALL,"wine.inf")
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])
AC_SUBST(WINELOADER_INSTALL,"wine.inf l_intl.nls")
case $host_os in
cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
*) WINE_APPEND_RULE(
[install install-lib::
\$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
uninstall::
\$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop]) ;;
*) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
esac
fi
...
...
loader/Makefile.in
View file @
1a49f2e0
C_SRCS
=
\
SOURCES
=
\
l_intl.nls
\
main.c
\
preloader.c
MANPAGES
=
\
preloader.c
\
wine.de.UTF-8.man.in
\
wine.desktop
\
wine.fr.UTF-8.man.in
\
wine.man.in
\
wine.pl.UTF-8.man.in
IN_SRCS
=
\
wine.inf.in
\
wine.man.in
\
wine.pl.UTF-8.man.in
\
wine_info.plist.in
PROGRAMS
=
$(WINELOADER_PROGRAMS)
...
...
tools/make_makefiles
View file @
1a49f2e0
...
...
@@ -435,7 +435,7 @@ sub assign_sources_to_makefiles(@)
{
next
unless
defined
$
{
$make
}{
"TESTDLL"
};
}
els
e
els
if
(
$dir
ne
"loader"
)
# loader dir contains misc files
{
next
;
}
...
...
tools/makedep.c
View file @
1a49f2e0
...
...
@@ -2636,6 +2636,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
*/
static
void
output_source_po
(
struct
makefile
*
make
,
struct
incl_file
*
source
,
const
char
*
obj
)
...
...
@@ -2843,6 +2863,8 @@ static const struct
{
"tlb"
,
output_source_tlb
},
{
"sfd"
,
output_source_sfd
},
{
"svg"
,
output_source_svg
},
{
"nls"
,
output_source_nls
},
{
"desktop"
,
output_source_desktop
},
{
"po"
,
output_source_po
},
{
"in"
,
output_source_in
},
{
"x"
,
output_source_x
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment