On Wed, Oct 19, 2005 at 09:28:48AM +0800, John Darrington wrote:
> Wierd.  Doesn't happen for me (on GNU/Linux).
>      
>      It looks like mkinstalldirs doesn't know about --prefix.
> 
> It shouldn't have to.  line 329 of the Makefile passes it 
> $(DESTDIR)/$(datadir).
> DESTDIR is the null string (except when building the distcheck target), 
> datadir should be $(prefix)/share 
> (set at the top of po/Makefile ).  So it seems that your datadir parameter is 
> not getting set .  Possibly a 
> BSD vs. Make issue.   But auto{conf,make} should be able to cope with it, so 
> it'd be interesting to know the
> reason for this.

My po/Makefile.in has this definition of datadir:

        datadir = ${datarootdir}

so this definition also appears in po/Makefile.
I replaced it with ${prefix}/share, and make install worked.

Another funny fact: make install worked with the datadir = ${datarootdir}
with GNU make.

Anyway, who set datadir to ${datarootdir} instead of ${prefix}/share
in Makefile.in? Should there be a po/Makefile.am to ensure the correct
definition?

-Jason

-- 
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org


_______________________________________________
pspp-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/pspp-dev

Reply via email to