File: rules

package info (click to toggle)
mathgl 1.9-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 17,496 kB
  • ctags: 3,647
  • sloc: cpp: 36,386; sh: 10,198; ansic: 1,093; makefile: 325; pascal: 52; python: 35
file content (21 lines) | stat: -rwxr-xr-x 829 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

DEB_PYTHON_SYSTEM=pysupport

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
#include /usr/share/cdbs/1/class/octave-pkg.mk
#include /usr/share/cdbs/1/class/cmake.mk
include /usr/share/cdbs/1/class/python-distutils.mk

# Add here any variable or target overrides you need.
DEB_CONFIGURE_EXTRA_FLAGS = --enable-all --enable-langall CXXFLAGS="-O2" CFLAGS="-O2"
#DEB_CMAKE_EXTRA_FLAGS = -Denable-all=true -Denable-langall=true

DEB_PYTHON_CLEAN_ARGS = --all
DEB_PYTHON_INSTALL_ARGS_ALL = --no-compile --force --root=debian/python-mathgl/
binary-install/libmgl-dev::
	rm -f debian/libmgl-dev/usr/include/mgl/mgl_fltk.h
	rm -f debian/libmgl-dev/usr/include/mgl/mgl_glut.h
	rm -f debian/libmgl-dev/usr/include/mgl/mgl_qt.h
	rm -f debian/libmgl-dev/usr/include/mgl/mgl_wx.h