Документ взят из кэша поисковой машины. Адрес оригинального документа : http://kodomo.fbb.msu.ru/hg/allpy/file/f3358da68bcd/debian/rules
Дата изменения: Unknown
Дата индексирования: Sun Feb 3 19:00:36 2013
Кодировка:
allpy: f3358da68bcd debian/rules

allpy

view debian/rules @ 933:f3358da68bcd

Fixed two bugs in one place: base Alignment/Block - realign used to cut sequence tails if the new alignment was wider than the existing one - any block modification that added new columns used to forget to add the columns to the alignment AFAIR, currently the only such modifications are IO, append_*, and realign() To fix it I've: - changed realign to use _pad_to_width() same as IO used, - and changed _pad_to_width() to behave in a blocks-safe manner: it now calls self._append_columns(), which in case of blocks calls itself recursively to add columns to parent too.
author Daniil Alexeyevsky <dendik@kodomo.fbb.msu.ru>
date Tue, 22 Nov 2011 00:13:40 +0300
parents 2b74596f3c64
children
line source
1 #!/usr/bin/make -f
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
11 build/python-allpy::
12 make -C docs html
14 build/geometrical-core2::
15 -mkdir debian/bin
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
22 clean::
23 rm -rf debian/bin
25 # Manually build blocks3d-wt to avoid build-dependency on qmake
26 b3dwt = blocks3d/wt
27 b3dwt_cpp = $(wildcard $(b3dwt)/*.C)
28 b3dwt_o = $(b3dwt_cpp:.C=.o)
29 b3dwt_exe = $(b3dwt)/blocks3d-wt
31 -include debian/.dep
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
39 $(b3wdt)/%.o:
40 $(CC) -o $@ $< -O3
42 clean::
43 rm -f $(b3dwt_o)
45 debian/.dep: $(b3dwt_cpp)
46 $(CC) $^ -MM > $@