* bootstrap: update here.
---
ChangeLog | 6 ++++++
bootstrap | 20 ++------------------
2 files changed, 8 insertions(+), 18 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 64a4638..e34918b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-12-16 Guillaume Lazzara <z(a)lrde.epita.fr>
+
+ Make use of milena/generate_dist_headers.sh.
+
+ * bootstrap: update here.
+
2008-12-09 Guillaume Lazzara <z(a)lrde.epita.fr>
Update call to build_unit_test.sh
diff --git a/bootstrap b/bootstrap
index f0ebe78..c0ee7e8 100755
--- a/bootstrap
+++ b/bootstrap
@@ -108,22 +108,6 @@ run ()
)
}
-# Generate milena/headers.mk
-# ------------------------------
-# List all the headers in order to make them part of distribution.
-dist_headers ()
-{
- cd "milena"
- echo "nobase_include_HEADERS = \\" > headers.mk
- echo "generating headers.mk"
- find mln -type f | sed -e 's/$/ \\/g' >> 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
- mv headers.mk.tmp headers.mk
- echo $last_line >> headers.mk # put the cleaned last line back.
- cd -
-}
# Failures do matter.
set -e
@@ -135,8 +119,8 @@ require automake 1.9.4
# Generate unit test files.
run milena/tests/unit_test ./build_unit_test.sh $PWD/milena/mln
-# Generate headers distribution config file.
-dist_headers
+# Generate milena/dist_headers.mk
+run milena ./generate_dist_headers.sh
# Tell what's going on.
set -x
--
1.5.6.5