bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

doc AM_PATH_LISPDIR versus prefix


From: Kevin Ryde
Subject: doc AM_PATH_LISPDIR versus prefix
Date: Sat, 29 Oct 2005 08:50:46 +1000
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

In automake 1.9 (debian package) manual, the "Public macros" node on
AM_PATH_LISPDIR says

     Searches for the program `emacs', and, if found, sets the output
     variable `lispdir' to the full path to Emacs' site-lisp
     directory.

This reads like lispdir will be the emacs path, like /usr,
irrespective of what your own package's configured --prefix is.

But if I'm not mistaken the macro in fact simply chooses between

        $libdir/emacs/site-lisp
        $libdir/xemacs/site-lisp
        $datadir/emacs/site-lisp
        $datadir/xemacs/site-lisp

according to what flavour and setup $EMACS has.  Ie. it's always under
your $prefix, just in a varying location there.  Perhaps the
documentation could be reworded to make this clear.

Incidentally, is $libdir only for old versions or emacs, and/or old
style filesystem layouts?  If that's so maybe that could be noted, or
describe $datadir/x?emacs/site-lisp first and then the $libdir second,
or something like that, so current conventions are shown first, if you
know what I mean.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]