This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Olena, a generic and efficient image processing platform".
The branch version.hh has been created
at 2a2dbc6c5881dab17ccee633d5391fa20538f8ee (commit)
- Log -----------------------------------------------------------------
2a2dbc6 Force make to regen Milena's mln/version.hh before other files.
6cc1347 Have `make regen- also regenerate Milena's mln/version.hh.
9c00054 Do not harcode OLN_PACKAGE_AUTHORS in Milena's mln/version.hh.in.
b19aab2 Define PACKAGE_AUTHORS in configure.ac.
fad39ca Stop generating milena/mln/version.hh in the build tree with configure.
5158238 Generate Milena's mln/version.hh in the source tree.
-----------------------------------------------------------------------
hooks/post-receive
--
Olena, a generic and efficient image processing platform
* Makefile.am (SUBDIRS): Prepend `.' to the list of subdirectories
to force make to honor this Makefile's targets before recursing in
Milena's subdirectories.
---
milena/ChangeLog | 8 ++++++++
milena/Makefile.am | 5 +----
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index b7a2eb0..462f751 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,5 +1,13 @@
2013-09-06 Roland Levillain <roland(a)lrde.epita.fr>
+ Force make to regen Milena's mln/version.hh before other files.
+
+ * Makefile.am (SUBDIRS): Prepend `.' to the list of subdirectories
+ to force make to honor this Makefile's targets before recursing in
+ Milena's subdirectories.
+
+2013-09-06 Roland Levillain <roland(a)lrde.epita.fr>
+
Have `make regen- also regenerate Milena's mln/version.hh.
* Makefile.am (regen-am): Here.
diff --git a/milena/Makefile.am b/milena/Makefile.am
index da3b91b..436fe54 100644
--- a/milena/Makefile.am
+++ b/milena/Makefile.am
@@ -15,10 +15,7 @@
# You should have received a copy of the GNU General Public License
# along with Olena. If not, see <http://www.gnu.org/licenses/>.
-SUBDIRS = \
- doc \
- mesh \
- tests
+SUBDIRS = . doc mesh tests
if ENABLE_APPS
SUBDIRS += apps
--
1.7.10.4
* Makefile.am (SUBDIRS): Prepend `.' to the list of subdirectories
to force make to honor this Makefile's targets before recursing in
Milena's subdirectories.
---
milena/ChangeLog | 8 ++++++++
milena/Makefile.am | 5 +----
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index 3d80dcb..05aa014 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,5 +1,13 @@
2013-09-06 Roland Levillain <roland(a)lrde.epita.fr>
+ Force make to regen Milena's mln/version.hh before other files.
+
+ * Makefile.am (SUBDIRS): Prepend `.' to the list of subdirectories
+ to force make to honor this Makefile's targets before recursing in
+ Milena's subdirectories.
+
+2013-09-06 Roland Levillain <roland(a)lrde.epita.fr>
+
Have `make regen' also regenerate Milena's mln/version.hh.
* Makefile.am (regen-am): Here.
diff --git a/milena/Makefile.am b/milena/Makefile.am
index da3b91b..436fe54 100644
--- a/milena/Makefile.am
+++ b/milena/Makefile.am
@@ -15,10 +15,7 @@
# You should have received a copy of the GNU General Public License
# along with Olena. If not, see <http://www.gnu.org/licenses/>.
-SUBDIRS = \
- doc \
- mesh \
- tests
+SUBDIRS = . doc mesh tests
if ENABLE_APPS
SUBDIRS += apps
--
1.7.10.4
#199: Stop using recursive Makefiles in milena/tests/?
----------------------+-----------------------------------------------------
Reporter: levill_r | Owner: Olena Team
Type: proposal | Status: new
Priority: trivial | Milestone: Olena 1.1
Component: Milena | Version: 1.0
Keywords: |
----------------------+-----------------------------------------------------
This is an open debate, not a well-defined task.
As of r3946, there are more than a hundred `Makefile`s under
source:trunk/milena/tests/. This has a huge impact on configuration and
build times.
Akim suggests we use `Makefile` inclusions instead of `Makefile` recursion
to speed up things. This also means losing the possibility to invoke
`make` in a specific subdirectory of `milena/tests/`, which is very handy.
Akim says we can substitute the feature by using scripts relying on the
control version program (http://lists.gnu.org/archive/html/automake-
patches/2009-03/msg00079.html).
Let's discuss this, and see what we can do after the 1.0 release.
--
Ticket URL: <https://trac.lrde.org/olena/ticket/199>
Olena <http://olena.lrde.epita.fr>
Olena, a generic and efficient C++ image processing library.
* configure.ac (PACKAGE_AUTHORS): New variable. Define it both as
a C/C++ preprocessor symbol (using AC_DEFINE_UNQUOTED) and as an
Autoconf output variable (via AC_SUBST).
---
ChangeLog | 8 ++++++++
configure.ac | 9 +++++++++
2 files changed, 17 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 2369b28..e454d84 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2013-09-06 Roland Levillain <roland(a)lrde.epita.fr>
+ Define PACKAGE_AUTHORS in configure.ac.
+
+ * configure.ac (PACKAGE_AUTHORS): New variable. Define it both as
+ a C/C++ preprocessor symbol (using AC_DEFINE_UNQUOTED) and as an
+ Autoconf output variable (via AC_SUBST).
+
+2013-09-06 Roland Levillain <roland(a)lrde.epita.fr>
+
Stop generating milena/mln/version.hh in the build tree with configure.
* configure.ac: No longer configure milena/mln/version.hh, as
diff --git a/configure.ac b/configure.ac
index aa1f1fd..e76a931 100644
--- a/configure.ac
+++ b/configure.ac
@@ -46,6 +46,15 @@ AM_INIT_AUTOMAKE([1.11 subdir-objects check-news tar-pax dist-bzip2
# "GEN ..." message, unless V=1 is passed to "make".
AM_SILENT_RULES([yes])
+# Package metadata.
+# Define this symbol in addition to what AC_INIT already defines
+# (PACKAGE_NAME, etc.)...
+PACKAGE_AUTHORS="EPITA Research and Development Laboratory (LRDE)"
+# - for config.hh
+AC_DEFINE_UNQUOTED([PACKAGE_AUTHORS], ["$PACKAGE_AUTHORS"],
+ [Authors of the package.])
+# - and for milena/mln/version.hh.
+AC_SUBST([PACKAGE_AUTHORS])
## --------------------- ##
--
1.7.10.4