[project @ 2001-04-24 10:06:18 by simonmar]
authorsimonmar <unknown>
Tue, 24 Apr 2001 10:06:18 +0000 (10:06 +0000)
committersimonmar <unknown>
Tue, 24 Apr 2001 10:06:18 +0000 (10:06 +0000)
Pass $(libdir) to the post install script, not $(prefix)

distrib/Makefile-bin.in

index a7cbb4a..b11b370 100644 (file)
@@ -209,10 +209,9 @@ denounce:
        fi
 
 postinstall:
        fi
 
 postinstall:
-       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) ; \
                echo "Done" ; \
        fi
 
                echo "Done" ; \
        fi