File: rules

package info (click to toggle)
libfsapfs 20240429-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 18,648 kB
  • sloc: ansic: 306,637; sh: 6,577; makefile: 2,174; python: 690; cpp: 533; sed: 16
file content (31 lines) | stat: -rw-r--r-- 777 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
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment for debhelper verbose output.
# export DH_VERBOSE=1

export SKIP_PYTHON_TESTS=1

%:
	dh $@ --buildsystem=autoconf --with=autoreconf,python3

.PHONY: override_dh_auto_configure
override_dh_auto_configure:
	dh_auto_configure -- --enable-python CFLAGS="-g"

.PHONY: override_dh_install
override_dh_install:
	dh_install --fail-missing -X.la -X/pyfsapfs.a

.PHONY: override_dh_missing
override_dh_missing:
	dh_missing -X.la -X/pyfsapfs.a --fail-missing

.PHONY: override_dh_strip
override_dh_strip:
ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
	dh_strip -plibfsapfs --dbg-package=libfsapfs-dbg
	dh_strip -plibfsapfs-tools --dbg-package=libfsapfs-tools-dbg
	dh_strip -plibfsapfs-python3 --dbg-package=libfsapfs-python3-dbg
endif