I would like to know if the install-exec-hook rule is called after
install-strip.
Yes. The install-exec-hook recipe is executed as part of
install-exec-am. install-strip really calls 'make install'
with some variable settings changed.
If yes, I have a problem :)
Why?
I have the following error message:
make INSTALL_PROGRAM="/bin/sh /home/torri/tmp/cvsroot2/e17/libs/evas/install-sh -c
-s" \
install_sh_PROGRAM="/bin/sh
/home/torri/tmp/cvsroot2/e17/libs/evas/install-sh -c -s" INSTALL_STRIP_FLAG=-s \
`test -z 'arm-wince-cegcc-strip' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='arm-wince-cegcc-strip'"`
install
make[1]: entrant dans le répertoire
Â/home/torri/tmp/cvsroot2/e17/libs/evas/src/modules/engines/software_16_wince »
make[2]: entrant dans le répertoire
Â/home/torri/tmp/cvsroot2/e17/libs/evas/src/modules/engines/software_16_wince »
make install-exec-hook
make[3]: entrant dans le répertoire
/home/torri/tmp/cvsroot2/e17/libs/evas/src/modules/engines/software_16_wince Â
mv
/home/torri/local/wince/lib/evas/modules/engines/software_16_wince/cegcc-arm/module.dll
/home/torri/local/wince/bin/engine_buffer.dll
mv: ne peut évaluer`/home/torri/local/wince/lib/evas/modules/engines/software_16_wince/cegcc-arm/module.dll':
Aucun fichier ou répertoire de ce type
make[3]: *** [install-exec-hook] Erreur 1
translation:
"entrant dans le répertoire: entering directory
"ne peut évaluer": can not evaluate
"Aucun fichier ou répertoire de ce type": no file or directory
The 'mv' call is done during the exec-hook. It seems that the file
module.dll is not copied first in
/home/torri/local/wince/lib/evas/modules/engines/software_16_wince/cegcc-arm/
by the install-strip rule
I thought that the install-strip rule strips the library and copied it
where it should (or the other order: copy first, strip after). It sems
that it is not copied.
Do you see why ?
Vincent