[SCM] Gerris Flow Solver branch, upstream, updated. b3aa46814a06c9cb2912790b23916ffb44f1f203
Stephane Popinet
s.popinet at niwa.co.nz
Fri May 15 02:52:18 UTC 2009
The following commit has been merged in the upstream branch:
commit e484f22d5307eb6b384a707f9de67f9660bb06a0
Author: Stephane Popinet <s.popinet at niwa.co.nz>
Date: Tue Jul 12 16:50:19 2005 +1000
Added tarball target for tests docs
darcs-hash:20050712065019-fbd8f-0c3fbc3cdd3e3f920c8caf95539863fbe73653f2.gz
diff --git a/test/euler/Makefile.am b/test/euler/Makefile.am
index 1de49ad..538280c 100644
--- a/test/euler/Makefile.am
+++ b/test/euler/Makefile.am
@@ -54,3 +54,6 @@ Makefile.deps: Makefile.am depend.py
python depend.py $(TESTDIRS) > Makefile.deps
-include Makefile.deps
+
+tests.tar.gz: tests $(DOCS)
+ tar czf tests.tar.gz tests $(DOCS)
diff --git a/test/euler/depend.py b/test/euler/depend.py
index 2efcdd5..244265f 100755
--- a/test/euler/depend.py
+++ b/test/euler/depend.py
@@ -8,17 +8,22 @@ import gfs2tex
dists = ""
depends = ""
+docs = ""
for start in sys.argv[1:]:
for root, dirs, files in os.walk(start,topdown=True):
if not ".xvpics" in root:
test = gfs2tex.Example(root)
- name = test.path + "/" + test.name + ".gfs "
+ name = test.path + "/" + test.name + ".gfs"
+ docs += "\\\n\t" + name + ".html"
dists += "\\\n\t" + name
- depends += "\\\n\t" + name
+ depends += "\\\n\t" + name
for f in test.required:
- dists += "\\\n\t" + test.path + "/" + f + " "
+ dists += "\\\n\t" + test.path + "/" + f
for f in test.generated:
- depends += "\\\n\t" + test.path + "/" + f + " "
+ depends += "\\\n\t" + test.path + "/" + f
+
+print "DOCS = " + docs + dists
+print ""
print "EXTRA_DIST += " + dists
print ""
print "tests.tex: " + depends
--
Gerris Flow Solver
More information about the debian-science-commits
mailing list