1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
#!/usr/bin/make -f
# Comment out to compile/test with gcc-snapshot.
#export CC = /usr/lib/gcc-snapshot/bin/gcc
#export CXX = /usr/lib/gcc-snapshot/bin/g++
#export CPP = /usr/lib/gcc-snapshot/bin/cpp
# Remember to comment this before tagging for a release.
#DEB_AUTO_UPDATE_DEBIAN_CONTROL := yes
# Make the build target only dependent on build-arch.
override DEB_BUILD_DEPENDENCIES := build-arch
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
DEB_CONFIGURE_EXTRA_FLAGS := --with-gl
# --with-mpi (needs lam4-dev or libmpich1.0-dev)
DEB_INSTALL_DOCS_ALL = THANKS TODO
DEB_INSTALL_MANPAGES_xorsa := xorsa.1
# Avoid compressing files generated by doxygen and the xorsa examples.
DEB_COMPRESS_EXCLUDE := .php .idx .hhc .hhk .hhp .orsa
build/xorsa::
docbook2x-man debian/manpages/xorsa.xml
uudecode debian/examples/chaotic_system.orsa.uu
build/liborsa-doc::
cd src/liborsa && doxygen Doxyfile
clean::
dh_clean xorsa.1
dh_clean chaotic_system.orsa
rm -rf src/liborsa/html
|