Документ взят из кэша поисковой машины. Адрес оригинального документа : http://kodomo.fbb.msu.ru/hg/allpy/annotate/85166d4ce53a/debian/rules
Дата изменения: Unknown
Дата индексирования: Thu Feb 28 03:59:20 2013
Кодировка:
allpy: debian/rules annotate

allpy

annotate debian/rules @ 1085:85166d4ce53a

Removed Alignment.process() and the code that it used (see #99) The code was documented to be removed in 1.4.1.
author Daniil Alexeyevsky <dendik@kodomo.fbb.msu.ru>
date Wed, 30 May 2012 13:38:27 +0400
parents 2b74596f3c64
children
rev   line source
me@198 1 #!/usr/bin/make -f
dendik@486 2
me@198 3 DEB_AUTO_UPDATE_DEBIAN_CONTROL = yes
me@198 4 DEB_PYTHON_SYSTEM = pysupport
dendik@486 5 DEB_COMPRESS_EXCLUDE = .py
dendik@486 6 DEB_PYTHON_MODULE_PACKAGES = $(filter-out blocks3d-wt, $(DEB_PACKAGES))
dendik@486 7
me@198 8 include /usr/share/cdbs/1/rules/debhelper.mk
me@198 9 include /usr/share/cdbs/1/class/python-distutils.mk
me@198 10
dendik@486 11 build/python-allpy::
dendik@486 12 make -C docs html
dendik@486 13
dendik@609 14 build/geometrical-core2::
dendik@607 15 -mkdir debian/bin
dendik@609 16 fix_path='import sys\nsys.path.append("/usr/share/geometrical-core2")'; \
dendik@607 17 cat geometrical_core/geometrical-core \
dendik@607 18 | sed "1 { x; s@^@\n$${fix_path}\n@; x }; /^$$/ x" \
dendik@609 19 > debian/bin/geometrical-core2
dendik@609 20 chmod +x debian/bin/geometrical-core2
dendik@607 21
dendik@607 22 clean::
dendik@609 23 rm -rf debian/bin
dendik@607 24
dendik@486 25 # Manually build blocks3d-wt to avoid build-dependency on qmake
dendik@486 26 b3dwt = blocks3d/wt
dendik@486 27 b3dwt_cpp = $(wildcard $(b3dwt)/*.C)
dendik@486 28 b3dwt_o = $(b3dwt_cpp:.C=.o)
dendik@486 29 b3dwt_exe = $(b3dwt)/blocks3d-wt
dendik@486 30
dendik@486 31 -include debian/.dep
dendik@486 32
dendik@486 33 build/blocks3d-wt:: $(b3dwt_exe) debian/.dep
dendik@856 34 make blocks3d-wt blocks3d-www
dendik@486 35
dendik@486 36 $(b3dwt_exe): $(b3dwt_o)
dendik@486 37 $(CC) -o $@ $^ -lwt -lwtfcgi -lboost_signals -O3
dendik@486 38
dendik@486 39 $(b3wdt)/%.o:
dendik@486 40 $(CC) -o $@ $< -O3
dendik@486 41
dendik@486 42 clean::
dendik@486 43 rm -f $(b3dwt_o)
dendik@486 44
dendik@486 45 debian/.dep: $(b3dwt_cpp)
dendik@486 46 $(CC) $^ -MM > $@