File: rules

package info (click to toggle)
mgltools-opengltk 1.5.7-1
  • links: PTS, VCS
  • area: non-free
  • in suites: stretch
  • size: 8,592 kB
  • ctags: 38,393
  • sloc: ansic: 98,617; python: 3,818; cpp: 1,943; sh: 1,332; tcl: 1,127; makefile: 65
file content (34 lines) | stat: -rwxr-xr-x 1,015 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
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/usr/bin/make -f
# -*- makefile -*-
# debian/rules for mgltools-opengltk

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

BRANCH=`cat debian/get-orig-source/current-branch`
RCVERSION=`cat debian/get-orig-source/rc-version`
SRC=opengltkDIST
export CFLAGS=-D_UNISTD -DSTDC_HEADERS

%:
	dh $@ --with python2

DEB_PYTHON_INSTALL_ARGS += --single-version-externally-managed

override_dh_clean:
	dh_clean
	find . -name CVS -a -type d| xargs -r rm -rf
	find . -name config.status -a -type f| xargs -r rm -rf
	rm -rf build build-stamp
	cd opengltk/extent/ && \
           rm -f gl_i.h.diff glext_mgltools_i.h.diff glextlib.py.diff \
                 glextlib_wrap.c.diff gllib.py.diff gllib_wrap.c.diff \
                 glu_i.h.diff glulib.py.diff glulib_wrap.c.diff glx_i.h.diff \
                 glxlib.py.diff glxlib_wrap.c.diff utillib.py.diff utillib_wrap.c.diff

override_dh_install:
	dh_install
	dh_numpy

get-orig-source:
	./debian/get-orig-source/get-orig-source $(SRC) $(BRANCH) $(RCVERSION)