* headers.mk,
* generate_dist_headers.sh: make version.hh part of the distribution.
* mln/version.hh.in: base file used by autotools to generate
version.hh.
---
milena/ChangeLog | 16 +++++++++++++---
milena/generate_dist_headers.sh | 3 ++-
milena/headers.mk | 1 +
milena/mln/version.hh.in | 11 +++++++++++
4 files changed, 27 insertions(+), 4 deletions(-)
create mode 100644 milena/mln/version.hh.in
diff --git a/milena/ChangeLog b/milena/ChangeLog
index dcf963a..19ae6b7 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,14 +1,24 @@
2008-12-19 Guillaume Lazzara <z(a)lrde.epita.fr>
+ Add version.hh.
+
+ * headers.mk,
+ * generate_dist_headers.sh: make version.hh part of the distribution.
+
+ * mln/version.hh.in: base file used by autotools to generate
+ version.hh.
+
+2008-12-19 Guillaume Lazzara <z(a)lrde.epita.fr>
+
Make the doc part of the distribution.
* doc/Doxyfile.in: make the user doc lighter.
* doc/Makefile.am: add the doc as extra dist.
- * mln/core/internal/graph_window_base.hh
- * mln/core/site_set/box.hh
- * mln/core/site_set/p_complex.hh
+ * mln/core/internal/graph_window_base.hh,
+ * mln/core/site_set/box.hh,
+ * mln/core/site_set/p_complex.hh,
* tests/morpho/complex_image_wst.cc,
* tests/morpho/tree/data.cc,
* trash/display_color_pretty.cc,
diff --git a/milena/generate_dist_headers.sh b/milena/generate_dist_headers.sh
index bb5bb30..7b9fb6a 100755
--- a/milena/generate_dist_headers.sh
+++ b/milena/generate_dist_headers.sh
@@ -7,9 +7,10 @@
echo "## Generated by ./generate_dist_headers, do not modify ##" >
headers.mk
echo "" >> headers.mk
echo "nobase_include_HEADERS = \\" >> headers.mk
+echo "mln/version.hh \\" >> headers.mk
echo "generating headers.mk"
-find mln -type f | grep -v "\.svn" | sed -e 's/$/ \\/g' >>
headers.mk
+find mln -type f | grep -v "\.svn" | sed -e 's/$/ \\/g' | grep -v
"version.hh.in" >> headers.mk
last_line=`tail -n 1 headers.mk | sed -e 's/\\\//g'` # remove '\' in last
line
sed '$d' < headers.mk > headers.mk.tmp # remove last line
diff --git a/milena/headers.mk b/milena/headers.mk
index 895ce0e..39fb190 100644
--- a/milena/headers.mk
+++ b/milena/headers.mk
@@ -1,6 +1,7 @@
## Generated by ./generate_dist_headers, do not modify ##
nobase_include_HEADERS = \
+mln/version.hh \
mln/histo/all.hh \
mln/histo/data.hh \
mln/histo/compute.hh \
diff --git a/milena/mln/version.hh.in b/milena/mln/version.hh.in
new file mode 100644
index 0000000..1b0cf19
--- /dev/null
+++ b/milena/mln/version.hh.in
@@ -0,0 +1,11 @@
+/** The address where bug reports should be sent. */
+#undef MLN_PACKAGE_BUGREPORT
+
+/** The full name of this package. */
+#undef MLN_PACKAGE_NAME
+
+/** The full name and version of this package. */
+#undef MLN_PACKAGE_STRING
+
+/** The version of this package. */
+#undef MLN_PACKAGE_VERSION
--
1.5.6.5