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
5cd33959
Commit
5cd33959
authored
Oct 29, 2015
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefiles: Generate rules for installing scripts.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
da340169
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
14 deletions
+11
-14
makedep.c
tools/makedep.c
+6
-0
Makefile.in
tools/winedump/Makefile.in
+2
-7
Makefile.in
tools/winemaker/Makefile.in
+3
-7
No files found.
tools/makedep.c
View file @
5cd33959
...
...
@@ -150,6 +150,7 @@ struct makefile
struct
strarray
include_args
;
struct
strarray
define_args
;
struct
strarray
programs
;
struct
strarray
scripts
;
struct
strarray
appmode
;
struct
strarray
imports
;
struct
strarray
delayimports
;
...
...
@@ -2488,6 +2489,10 @@ static struct strarray output_sources( struct makefile *make, struct strarray *t
strmake
(
"p$(bindir)/%s"
,
program
));
}
for
(
i
=
0
;
i
<
make
->
scripts
.
count
;
i
++
)
add_install_rule
(
make
,
make
->
scripts
.
str
[
i
],
make
->
scripts
.
str
[
i
],
strmake
(
"S$(bindir)/%s"
,
make
->
scripts
.
str
[
i
]
));
if
(
all_targets
.
count
)
{
output
(
"all:"
);
...
...
@@ -2775,6 +2780,7 @@ static void update_makefile( const char *path )
make
->
importlib
=
get_expanded_make_variable
(
make
,
"IMPORTLIB"
);
make
->
programs
=
get_expanded_make_var_array
(
make
,
"PROGRAMS"
);
make
->
scripts
=
get_expanded_make_var_array
(
make
,
"SCRIPTS"
);
make
->
appmode
=
get_expanded_make_var_array
(
make
,
"APPMODE"
);
make
->
imports
=
get_expanded_make_var_array
(
make
,
"IMPORTS"
);
make
->
delayimports
=
get_expanded_make_var_array
(
make
,
"DELAYIMPORTS"
);
...
...
tools/winedump/Makefile.in
View file @
5cd33959
PROGRAMS
=
winedump
MANPAGES
=
winedump.man.in
SCRIPTS
=
function_grep.pl
C_SRCS
=
\
debug.c
\
...
...
@@ -23,10 +24,4 @@ C_SRCS = \
symbol.c
\
tlb.c
INSTALL_DEV
=
$(PROGRAMS)
install install-dev
::
$(INSTALL_SCRIPT)
$(srcdir)
/function_grep.pl
$(DESTDIR)$(bindir)
/function_grep.pl
uninstall
::
$(RM)
$(DESTDIR)$(bindir)
/function_grep.pl
INSTALL_DEV
=
$(PROGRAMS)
$(SCRIPTS)
tools/winemaker/Makefile.in
View file @
5cd33959
SCRIPTS
=
winemaker
MANPAGES
=
\
winemaker.de.UTF-8.man.in
\
winemaker.fr.UTF-8.man.in
\
winemaker.man.in
INSTALL_DEV
=
winemaker
install install-dev
::
$(INSTALL_SCRIPT)
$(srcdir)
/winemaker
$(DESTDIR)$(bindir)
/winemaker
uninstall
::
$(RM)
$(DESTDIR)$(bindir)
/winemaker
INSTALL_DEV
=
$(SCRIPTS)
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