File: rules

package info (click to toggle)
pyode 1.2.0-4%2Bcvs20090320.3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,456 kB
  • sloc: python: 2,459; makefile: 10
file content (20 lines) | stat: -rwxr-xr-x 408 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
# -*- makefile -*-
#
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

export PYBUILD_NAME=pyode

%:
	dh $@ --with python2 --buildsystem=pybuild

# save *.c files from modifications when cleaning up
override_dh_auto_clean:
	mkdir -p tmp_backup_c
	cp -a *.c tmp_backup_c
	dh_auto_clean
	mv tmp_backup_c/*.c .
	rmdir tmp_backup_c