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
|
#!/usr/bin/make -f
DEB_PYTHON_SYSTEM=pycentral
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.mk
include /usr/share/cdbs/1/rules/dpatch.mk
# needed to use the dpatch tools (like dpatch-edit-patch)
include /usr/share/dpatch/dpatch.make
DEB_DESTDIR=debian/python-opengl
PYVER=$(shell pyversions -vd)
# Install egg-info directories
DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed
pre-build::
chmod a-x PyOpenGL.egg-info/*
install/python-opengl-doc::
cd documentation/pydoc/ && PYTHONPATH="../.." python$(PYVER) builddocs.py
clean::
-sed -i -e '/setup\.cfg/d' PyOpenGL.egg-info/SOURCES.txt
-rm -f documentation/pydoc/*.html
|