← Back to team overview

yade-dev team mailing list archive

[SCM] Yet Another Dynamic Engine. Platform for discrete element modeling. branch, master, updated. upstream/0.60.3-87-gc265a1a

 

The following commit has been merged in the master branch:
commit eb7d342176dce58b586f9a3146e563d87db2ecd8
Author: Anton Gladky <gladky.anton@xxxxxxxxx>
Date:   Sun Jun 26 21:26:01 2011 +0200

    Enable dbg-mode during man-genaration.

diff --git a/debian/rules b/debian/rules
index d2b2c0c..d362ad3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,7 @@ override_dh_auto_clean:
 	rm -rf debian/build
 	rm -rf doc/sphinx/_build
 	rm -rf tags
-	rm -f scons.profile-deb
+	rm -f scons.*
 	rm -f *.1
 	rm -rf $(tmpDirMatplotLib)
 	rm -rf $(tmpInstall)
@@ -27,17 +27,17 @@ override_dh_auto_configure:
 
 override_dh_auto_build:
 	# remove the profile, if existing, to have clean config
-	rm -f scons.profile-deb
+	rm -f scons.*
 	#Output an information about available memory and CPU
 	-cat /proc/meminfo
 	-cat /proc/cpuinfo
 	# the last argument specified that we only want files in lib installed -- common files (the executable) are already in the optimized package
-	export MPLCONFIGDIR=$(tmpDirMatplotLib) HOME=$(tmpDirMatplotLib)$ ; NO_SCONS_GET_RECENT= scons profile=deb buildPrefix=debian runtimePREFIX=/usr version='' brief=0 chunkSize=2 -j1 features=vtk,gts,opengl,qt4,openmp PREFIX=$(tmpInstallDbg) variant='' CXXFLAGS='$(CXXFLAGS)' optimize=0 march= debug=1 $(tmpInstallDbg)/lib
+	export MPLCONFIGDIR=$(tmpDirMatplotLib) HOME=$(tmpDirMatplotLib)$ ; NO_SCONS_GET_RECENT= scons profile=deb buildPrefix=debian runtimePREFIX=/usr version='' brief=0 chunkSize=2 -j1 features=vtk,gts,opengl,qt4,openmp PREFIX=$(tmpInstallDbg) variant='' CXXFLAGS='$(CXXFLAGS)' optimize=0 march= debug=1 
 	#optimized build
 	export MPLCONFIGDIR=$(tmpDirMatplotLib) HOME=$(tmpDirMatplotLib) ; NO_SCONS_GET_RECENT= scons profile=deb PREFIX=$(tmpInstall) variant=''  -j1 optimize=1 debug=0
 	# generate manpages
-	export MPLCONFIGDIR=$(tmpDirMatplotLib) HOME=$(tmpDirMatplotLib) ; YADE_PREFIX=$(tmpInstall) $(tmpInstall)/bin/yade --generate-manpage yade.1
-	export MPLCONFIGDIR=$(tmpDirMatplotLib) HOME=$(tmpDirMatplotLib) ; YADE_PREFIX=$(tmpInstall) $(tmpInstall)/bin/yade-batch --generate-manpage yade-batch.1
+	export MPLCONFIGDIR=$(tmpDirMatplotLib) HOME=$(tmpDirMatplotLib) ; YADE_PREFIX=$(tmpInstall) $(tmpInstallDbg)/bin/yade --debug --generate-manpage yade.1
+	export MPLCONFIGDIR=$(tmpDirMatplotLib) HOME=$(tmpDirMatplotLib) ; YADE_PREFIX=$(tmpInstall) $(tmpInstallDbg)/bin/yade-batch --debug --generate-manpage yade-batch.1
 
 override_dh_auto_test:
 	export MPLCONFIGDIR=$(tmpDirMatplotLib) HOME=$(tmpDirMatplotLib) ; YADE_PREFIX=$(tmpInstallDbg) $(tmpInstall)/bin/yade --debug --test

-- 
Yet Another Dynamic Engine. Platform for discrete element modeling.