Pass $(libdir) to the post install script, not $(prefix)
- if test -x "./post-install-script" ; then \
+ @if test -x "./post-install-script" ; then \
echo "Running project-specific post-install script ..." ; \
echo "Running project-specific post-install script ..." ; \
- ./post-install-script $(platform) $(prefix) \
- $(package)-$(version); \
+ ./post-install-script $(platform) $(libdir) ; \