"Roland E. Lipovits" wrote:
> >Is there a way to compile amanda in the following way:
> (...)
> >are ok but: /opt/amanda-2.4.2/share/amanda
> >should be: /opt/amanda-2.4.2/share
> >(produced with --prefix=/opt/amanda-2.4.2)
>
> I would try:
> --datadir="${prefix}/share"
>
I tried that. Didn't work. The problem is the Makefile.in (at least I
think that's the problem).
[ Makefile.in]
bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
datadir = @datadir@
[snip]
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
Amanda seems to use the pkgdatadir directory "instead" of the datadir
directory and I was not able to specify the pkgdatadir nor the PACKAGE
on the command line for configure.
Sven