From 15a8ad0c09a55adfbf85e1a1f904525385fd4e7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Robert=20Kl=C3=B6fkorn?= <robertk@dune-project.org>
Date: Thu, 6 Mar 2008 16:24:04 +0000
Subject: [PATCH] make duneproject consistent with new build system.

[[Imported from SVN: r5104]]
---
 bin/duneproject | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/bin/duneproject b/bin/duneproject
index 6f13d8bb8..1c154c80e 100755
--- a/bin/duneproject
+++ b/bin/duneproject
@@ -232,6 +232,8 @@ cat > "$PROJECT/dune.module" <<C_DELIM
 
 #Name of the module
 Module:$MODULE
+Version:$VERSION
+Maintainer:$MAINTAINER
 #depending on 
 Depends:$DEPENDENCIES
 C_DELIM
@@ -283,7 +285,7 @@ cat > "$PROJECT/configure.ac" <<C_DELIM
 # Process this file with autoconf to produce a configure script.
 AC_PREREQ(2.50)
 DUNE_AC_INIT # gets module version from dune.module file
-AM_INIT_AUTOMAKE($PROJECT, $VERSION, $MAINTAINER)
+AM_INIT_AUTOMAKE
 AC_CONFIG_SRCDIR([$CMODULE.cc])
 AM_CONFIG_HEADER([config.h])
 
@@ -291,7 +293,7 @@ AM_CONFIG_HEADER([config.h])
 # we need no more than the standard DE-stuff
 # this module depends on $DEPENDENCIES
 # this implies checking for $CHECK
-DUNE_CHECK_ALL($CHECK)
+DUNE_CHECK_ALL
 
 # implicitly set the Dune-flags everywhere
 AC_SUBST(AM_CPPFLAGS, \$DUNE_CPPFLAGS)
-- 
GitLab