[ghemical-devel] added the automake scripts ; make install?
Jean Bréfort
jean.brefort@free.fr
Fri, 13 Aug 2004 17:48:42 +0200
Le ven 13/08/2004 à 14:35, Tommi Hassinen a écrit :
> Hi,
>
> the new automake scripts are now in mopac7 and libghemical CVS trees. The
> mopac7 one should work but with libghemical there is an issue with "make
> install". At the moment the parameter files are installed into
>
> /usr/local/share/libghemical
>
> while it used to be
>
> /usr/local/share/libghemical/1.51
>
> that is, there was a separate subdirectory for each version. How this
> could be done with automake?
in configure.in, you can add
libghemical_paramdir='${datadir}/libghemical/${VERSION}'
AC_SUBST(libghemical_paramdir)
and use this directory to install the files.
you can also build the name in Makefile.am using $(datadir) and
@VERSION@.