[Xastir-Dev] Makefile: ${prefix} -> ${datadir}
Alan Crosswell
alan at columbia.edu
Sun May 18 19:37:22 EDT 2003
Let's try that patch again, shall we? Note, that since all the
directories are defined in ~/.xastir/config/xastir.cnf for an existing
user, none of this change from /usr/xastir->/usr/share/xastir is visible
unless you clobber and recreate the xastir.cnf. First time users will
get a new xastir.cnf that has /usr/share/xastir (or whatever the builder
set datadir to).
I think this patch is correct since get_data_base_dir() is called to
find the prefix for everything.
If there's any code lurking that looks elsewhere for the prefix then
I've missed it!
73 de Alan N2YGK
Alan Crosswell wrote:
> Attached find a proposed patch to Makefile.in that changes what, IMHO,
> is incorrect use of ${prefix} for the maps, etc.
> ${prefix}/xastir/maps becomes /usr/xastir/maps when prefix
> is set to /usr. Using datadir instead gets you
> /usr/share/xastir/maps. for example. And, if you want it to be
> /usr/local/xastir/maps, you can set datadir=/usr/local to get the
> "old" behavior.
>
> 73
> /a
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: xastir-datadir.patch
URL: <http://xastir.org/pipermail/xastir-dev/attachments/20030518/54144694/attachment.ksh>
More information about the Xastir-dev
mailing list