File: rules

package info (click to toggle)
pd-py 0.2.0%2Bgit20161103.1.d0e0648f-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 612 kB
  • ctags: 538
  • sloc: cpp: 4,617; python: 316; makefile: 11
file content (19 lines) | stat: -rwxr-xr-x 510 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1

CFLAGS+=$(shell pkg-config --cflags python)
LDFLAGS+=$(shell pkg-config --libs python)

%:
	dh $@

override_dh_auto_build:
	make -f /usr/share/pd-flext/dev/Makefile.flext CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" PYTHONVERSION=2.7
	chmod a-x scripts/*.py
	dh_auto_build

override_dh_auto_clean:
	make -f /usr/share/pd-flext/dev/Makefile.flext clean
	dh_auto_clean