view debian/rules @ 935:19ffcf1ac4a0
Fixed bug in processors: used Block class for reading alignment file.
Until recent changes (introduction of Alignment/Block._append_columns) it
worked out fine. But practically, we used alignment API: we created an empty
object and called append_file on it.
For blocks this resulted in a block that did not know it's alignment.
Recent changes in implementation caused blocks to actually have their own
specific methods besides constructor, and these methods use knowlege of
alignment a block belongs to.
Hence, the previous behaviour was a bug.
| author |
Daniil Alexeyevsky <dendik@kodomo.fbb.msu.ru> |
| date |
Mon, 28 Nov 2011 18:33:25 +0300 |
| parents |
2b74596f3c64 |
| children |
|
line source
3 DEB_AUTO_UPDATE_DEBIAN_CONTROL = yes
4 DEB_PYTHON_SYSTEM = pysupport
5 DEB_COMPRESS_EXCLUDE = .py
6 DEB_PYTHON_MODULE_PACKAGES = $
(filter-out blocks3d-wt, $
(DEB_PACKAGES))
8 include /usr/share/cdbs/1
/rules/debhelper.mk
9 include /usr/share/cdbs/1
/class/python-distutils.mk
14 build/geometrical-core2::
16 fix_path='import sys\nsys.path.append("/usr/share/geometrical-core2")'; \
17 cat geometrical_core/geometrical-core \
18 | sed "1 { x; s@^@\n$${fix_path}\n@; x }; /^$$/ x" \
19 > debian/bin/geometrical-core2
20 chmod +x debian/bin/geometrical-core2
25 # Manually build blocks3d-wt to avoid build-dependency on qmake
27 b3dwt_cpp = $
(wildcard $
(b3dwt)/*.C)
28 b3dwt_o = $
(b3dwt_cpp:.C=.o)
29 b3dwt_exe = $
(b3dwt)/blocks3d-wt
33 build/blocks3d-wt:: $
(b3dwt_exe) debian/.dep
34 make blocks3d-wt blocks3d-www
36 $
(b3dwt_exe): $
(b3dwt_o)
37 $
(CC) -o $
@ $^
-lwt -lwtfcgi -lboost_signals -O3
45 debian/.dep: $
(b3dwt_cpp)