File: rules

package info (click to toggle)
python-pysqlite1.1 1.1.8a-8
  • links: PTS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 428 kB
  • ctags: 673
  • sloc: python: 2,143; ansic: 1,708; makefile: 13; sh: 7
file content (19 lines) | stat: -rwxr-xr-x 454 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

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

export BASECFLAGS := $(CFLAGS) $(CPPFLAGS)

%:
	dh $@ --with python2

override_dh_install:
	dh_install -X"*_d.so" "debian/tmp/*" -p python-pysqlite1.1
	dh_install "debian/tmp/usr/lib/python*/*-packages/*_d.so" -p python-pysqlite1.1-dbg
	dh_install

override_dh_strip:
ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
	dh_strip --dbg-package=python-pysqlite1.1-dbg
endif