On Fri, Aug 13, 2004 at 03:35:22PM +0300, Tommi Hassinen wrote: > /usr/local/share/libghemical/1.51 > > that is, there was a separate subdirectory for each version. How this > could be done with automake? something like -paramsfdir = $(datadir)/libghemical/param_sf/default +paramsfdir = $(datadir)/libghemical/@LIBVERSION@/param_sf/default should work. Somehow related, there is a Makefile missing in param_mm/prmfit. I suggest: diff -u -r1.1 Makefile.am --- param_mm/Makefile.am 13 Aug 2004 12:14:49 -0000 1.1 +++ param_mm/Makefile.am 13 Aug 2004 13:15:00 -0000 @@ -1 +1 @@ -SUBDIRS = default +SUBDIRS = default prmfit and parammmdir = $(datadir)/libghemical/@LIBVERSION@/param_mm/prmfit parammm_DATA = atomtypes.txt parameters1.txt parameters2.txt parameters3.txt parameters4.txt EXTRA_DIST = $(parammm_DATA) as param_mm/prmfit/Makefile.am. Otherwise, maybe it would be easier to just have one Makefile.am for all subdirs in bin/. Why is this diretory called 'bin' anyway, if data files are located in it? cheers, Michael