File: rules

package info (click to toggle)
storm 1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,768 kB
  • sloc: python: 22,677; ansic: 1,648; makefile: 53
file content (20 lines) | stat: -rwxr-xr-x 491 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

export DEB_BUILD_MAINT_OPTIONS := hardening=+all
export PYBUILD_NAME := storm
# We need to use dev/test to set up the PostgreSQL fixture.
export PYBUILD_TEST_CUSTOM := 1
export PYBUILD_TEST_ARGS := {interpreter} {dir}/dev/test
export PYBUILD_AFTER_TEST := rm -rf {build_dir}/db*

include /usr/share/dpkg/default.mk

%:
	dh $@ --buildsystem=pybuild

override_dh_installchangelogs:
	dh_installchangelogs NEWS

override_dh_auto_clean:
	dh_auto_clean
	rm -rf storm.egg-info