[Pkg-scicomp-devel] xmds/trunk/debian

Rafael Laboissiere rafael at debian.org
Thu Mar 8 12:25:52 CET 2007


SVN commit 1432 by rafael:

Debian release xmds_1.5.3-8

 M  +5 -4      xmds/trunk/debian/changelog  
 M  +1 -1      xmds/trunk/debian/control  
 M  +19 -3     xmds/trunk/debian/rules  


--- xmds/trunk/debian/changelog #1431:1432
@@ -1,15 +1,16 @@
 xmds (1.5.3-8) unstable; urgency=low
 
-  NOT YET RELEASED!
-
   * debian/control:
     - Added XS-Vcs-Svn and XS-Vcs-Browser fields to the Source section
     - Added Homepage pseudo-field to the Description
     - Changed the priority of the package "extra", because it depends on
       libmpich1.0-dev, which has also priority "extra" (comply with Policy
       Section 2.5: Priorities)
+  * debian/rules: Save and restore files configure, source/config.h.in,
+    and source/xmdsconfig.h, which are changed by the autotools,
+    preventing the changes to appear in the diff.gz file
 
- --
+ -- Rafael Laboissiere <rafael at debian.org>  Thu,  8 Mar 2007 11:35:28 +0100
 
 xmds (1.5.3-7) unstable; urgency=low
 
@@ -19,7 +20,7 @@
 
 xmds (1.5.3-6) experimental; urgency=low
 
-  * debian/rules: Use mpicxx as the MPI compile; all the examples wor now
+  * debian/rules: Use mpicxx as the MPI compile; all the examples work now
   * debian/README.Debian: Updated accordingly
 
  -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 14:29:44 +0100
--- xmds/trunk/debian/control #1431:1432
@@ -21,5 +21,5 @@
  XML file, and it goes away and writes and compiles a C++ program that
  integrates those equations as fast as it can possibly be done in your
  architecture.
-.
+ .
   Homepage: http://xmds.sourceforge.net/
--- xmds/trunk/debian/rules #1431:1432
@@ -14,13 +14,23 @@
 	--enable-fftw3			\
 	--enable-mpi			\
 	--with-mpi-path=/usr/lib/mpich	\
-	--with-mpi-compiler=mpicxx	
+	--with-mpi-compiler=mpicxx
 
 DEB_COMPRESS_EXCLUDE = .xmds
 DEB_AUTO_UPDATE_AUTOCONF = 1
 
+preserved_files = configure source/config.h.in source/xmdsconfig.h
+
+makebuilddir/xmds::
+	# Save files that will be changed by the autotools
+	for i in $(preserved_files) ; do	\
+		if ! test -e $$i-orig ; then	\
+			cp $$i $$i-orig ;	\
+		fi ;				\
+	done
+
 build/xmds:: make-examples-stamp
-make-examples-stamp:	
+make-examples-stamp:
 	# Run test
 	cp examples/lorenz* source
 	( cd source ;						\
@@ -42,4 +52,10 @@
 	cp debian/Makefile-examples $(expdir)/Makefile
 
 clean::
-	rm -rf config.log source/lorenz.* make-examples-stamp
+	rm -rf config.log source/lorenz.* make-examples-stamp autom4te.cache
+	# Restored files changed by the autotools
+	for i in $(preserved_files) ; do	\
+		if test -e $$i-orig ; then	\
+			mv $$i-orig $$i ;	\
+		fi ;				\
+	done



More information about the Pkg-scicomp-devel mailing list