blob: 472c67a613179f38710c724d0a344bb7ccc1886a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
--- Makefile.in.orig 2013-11-20 14:58:55 UTC
+++ Makefile.in
@@ -824,10 +824,10 @@ host=@host@
target=@target@
ifeq (${target}, ${host})
- target_prefix=${prefix}
- host_exe_dir=${prefix}/bin
+ target_prefix=${DESTDIR}${prefix}
+ host_exe_dir=${DESTDIR}${prefix}/bin
host_cmdprefix=
- target_exe_dir=${prefix}/bin
+ target_exe_dir=${DESTDIR}${prefix}/bin
else
target_prefix=${prefix}/${target}
@@ -851,11 +851,11 @@ install:
${RM} -fr "${target_prefix}/include/polyorb"
${PINSTALL} -d ${target_prefix}/include/polyorb
for comp in ${COMPILER_EXES}; do \
- ${INSTALL_BIN} ${top_builddir}/compilers/$${comp}${HOST_EXE_SUFFIX} ${host_exe_dir}/${host_cmdprefix}`basename $${comp}`${HOST_EXE_SUFFIX}; \
+ ${BSD_INSTALL_PROGRAM} ${top_builddir}/compilers/$${comp}${HOST_EXE_SUFFIX} ${host_exe_dir}/${host_cmdprefix}`basename $${comp}`${HOST_EXE_SUFFIX}; \
done
- ${INSTALL_SCRIPT} ${top_builddir}/polyorb-config ${host_exe_dir}/${host_cmdprefix}polyorb-config
+ ${BSD_INSTALL_SCRIPT} ${top_builddir}/polyorb-config ${host_exe_dir}/${host_cmdprefix}polyorb-config
for tool in po_cos_naming/po_cos_naming po_cos_naming/po_cos_naming_shell po_cos_naming/ir_ab_names po_ir/po_ir po_catref/po_catref po_createref/po_createref po_names/po_names po_dumpir/po_dumpir; do \
- ${INSTALL_BIN} ${top_builddir}/tools/$$tool${TARGET_EXE_SUFFIX} ${target_exe_dir}/`basename $$tool`${TARGET_EXE_SUFFIX}; \
+ ${BSD_INSTALL_PROGRAM} ${top_builddir}/tools/$$tool${TARGET_EXE_SUFFIX} ${target_exe_dir}/`basename $$tool`${TARGET_EXE_SUFFIX}; \
done
ls ${top_builddir}/lib/*.a | ${PINSTALL} -m 444 - ${target_prefix}/lib/polyorb/static
ls ${top_builddir}/lib/*.so | ${PINSTALL} -m 555 - ${target_prefix}/lib
@@ -884,10 +884,10 @@ install:
# pre-built and packaged with sources.
if [ -r docs/polyorb_ug.html ]; \
then \
- (cd docs && ${MAKE} install prefix="${prefix}"); \
+ (cd docs && ${MAKE} install prefix="${target_prefix}"); \
elif [ -r $(top_srcdir)/docs/polyorb_ug.html ]; \
then \
- (cd docs && ${MAKE} install prefix="${prefix}" doc_build_dir="$(top_srcdir)/docs/"); \
+ (cd docs && ${MAKE} install prefix="${target_prefix}" doc_build_dir="$(top_srcdir)/docs/"); \
fi
# polyorb-dsa_p-partitions.ali is a special case above.
|