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

allpy

view debian/rules @ 736:c421263ef000

html viewer of blocks: now compatible with jquery-1.4.2 (jquery-1.4.2 is used in ubuntu maverick) Methods .mouseover( [eventData,] handler(eventObject) ) and .mouseleave( [eventData,] handler(eventObject) ) were added in jquery-1.4.3, but .bind( eventType, [eventData,] handler(eventObject) ) was in jquery-1.0. Maybe viewer is compatible with jquery-1.0, but I have not tested
author boris <bnagaev@gmail.com>
date Fri, 08 Jul 2011 21:13:54 +0200
parents cc1ed3a62673
children 2b74596f3c64
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
35 $(b3dwt_exe): $(b3dwt_o)
36 $(CC) -o $@ $^ -lwt -lwtfcgi -lboost_signals -O3
38 $(b3wdt)/%.o:
39 $(CC) -o $@ $< -O3
41 clean::
42 rm -f $(b3dwt_o)
44 debian/.dep: $(b3dwt_cpp)
45 $(CC) $^ -MM > $@