Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
Ocarina
Commits
b285ef2c
Commit
b285ef2c
authored
Feb 26, 2013
by
yoogx
Browse files
* Do not install libraries if these have not been compiled.
Required for Windows builds, as libraries appeared unsupported
parent
f9234ba7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile.common
View file @
b285ef2c
...
...
@@ -60,13 +60,17 @@ install-ada-libs:
for
f
in
$(ADA_SPECS)
$(ADA_BODIES)
;
do
\
$(INSTALL)
-m
444
$$
f
$(DESTDIR)$(adadir)
;
\
done
if
[
"
$
(ls -A libs)"
]
;
then
\
for
f
in
libs/
*
.ali
;
do
\
$(INSTALL)
-m
444
$$
f
$(DESTDIR)$(alidir)
;
\
done
done
\
fi
$(INSTALL)
-d
$(DESTDIR)$(libdir)
if
[
"
$
(ls -A libs/lib*)"
]
;
then
\
for
f
in
libs/lib
*
;
do
\
$(INSTALL)
-m
444
$$
f
$(DESTDIR)$(libdir)
;
\
done
done
\
fi
uninstall-ada-libs
:
rm
-rf
$(DESTDIR)$(adadir)
$(DESTDIR)$(alidir)
...
...
src/main/Makefile.am
View file @
b285ef2c
...
...
@@ -18,13 +18,17 @@ install-data-local: install-ada-libs
for
f
in
$(ADA_SPECS)
$(ADA_BODIES)
;
do
\
$(INSTALL)
-m
444
$$
f
$(DESTDIR)$(adadir)
;
\
done
if
[
"
$
(ls -A libs)"
]
;
then
\
for
f
in
objects/
*
.ali
;
do
\
$(INSTALL)
-m
444
$$
f
$(DESTDIR)$(alidir)
;
\
done
done
\
fi
$(INSTALL)
-d
$(DESTDIR)$(libdir)
if
[
"
$
(ls -A libs/lib*)"
]
;
then
\
for
f
in
libs/lib
*
;
do
\
$(INSTALL)
-m
444
$$
f
$(DESTDIR)$(libdir)
;
\
done
done
\
fi
# When packaging, we remove the "Working Copy from @SVN_REVISION@"
# from the SVN_Revision variable in ocarina-configuration.adb.in and
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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