Commit d8410224 authored by Guillaume Lazzara's avatar Guillaume Lazzara
Browse files

Make use of milena/generate_dist_headers.sh.

	* bootstrap: update here.

git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3059 4aad255d-cdde-0310-9447-f3009e2ae8c0
parent c2f2344d
2008-12-16 Guillaume Lazzara <z@lrde.epita.fr>
Make use of milena/generate_dist_headers.sh.
* bootstrap: update here.
2008-12-09 Guillaume Lazzara <z@lrde.epita.fr>
Update call to build_unit_test.sh
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment