On Sun Mar 9 2014 Barak A. Pearlmutter wrote: > Okay, I've reworked it again to satisfy, I believe, all criteria! > The pathway is simply bbdb-site.el.in to bbdb-site.el.
I adopted your approach, thank you. > A pre-built bbdb-site.el can be included in the distribution tarball, > no problem. (Might want to ensure that bbdb-site.el.in is newer > though, for obvious reasons. There is probably some automake magic to > regenerate it anyway regardless of timestamp, I have not fiddled with > that.) This is the only remaining minor problem: Yes, I think it would be good to have a pre-built bbdb-site.el included in the distribution tarball. But ideally `make' should rebuild this file whenever the user re-runs make with a new value for pkgdatadir. This is really not a specific issue of BBDB: whenever the value of a variable like pkgdatadir gets compiled into the code, one might want to rebuild the respective parts of the code if the value of the variable gets changed. But probably I am asking for too much here. The alternative will be that each time one runs make, this re-generates bbdb-site.el. Probably this is more reliable, while the overhead is negligible. The cheapest way to achieve this is probably to make bbdb-site.el depend on a prerequisite that does not exist and is not supposed to exist, something like ".FORCE", and this prerequisite appears also as an empty target. Barak, what do you think? 2014-03-11 Barak A. Pearlmutter <ba...@cs.nuim.ie> Generate lisp/bbdb-site.el via lisp/Makefile as pkgdatadir is only known at "make" time. * configure.ac: Remove lisp/bbdb-site.el from autoconfig files. Increase BBDB version number to 3.1.1 * lisp/Makefile.am: Generate lisp/bbdb-site.el. * lisp/bbdb-site.el.in: Initialize bbdb-print-tex-path with a placeholder for pkgdatadir. 2014-03-11 Barak A. Pearlmutter <ba...@cs.nuim.ie> * Makefile.am: Install files COPYING, ChangeLog, AUTHORS, NEWS, README, and TODO in the doc directory. * doc/Makefile.am: Install bbdb.pdf in the doc directory. 2014-03-11 Barak A. Pearlmutter <ba...@cs.nuim.ie> * m4/package_date.m4: Use "date -u" if "date --rfc-3339" fails. BBDB is available at http://savannah.nongnu.org/projects/bbdb/ To check it out, use git clone git://git.savannah.nongnu.org/bbdb.git ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/