File: rules

package info (click to toggle)
rl-renderpm 4.0.3%2Brepack-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 1,276 kB
  • sloc: ansic: 17,352; python: 1,212; makefile: 152; sh: 96
file content (22 lines) | stat: -rwxr-xr-x 541 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

# See debhelper(7) (uncomment to enable).
# Output every command that modifies files on the build system.
#export DH_VERBOSE = 1

export PYBUILD_NAME=rl-renderpm

%:
	dh $@ --buildsystem=pybuild

override_dh_auto_clean:
	rm -f src/libart_lgpl/art_config.h # this file is generated
	dh_auto_clean

override_dh_autoreconf_clean:
	rm -f src/libart_lgpl/art_config.h # this file is generated
	dh_autoreconf_clean

override_dh_auto_build:
	export CFLAGS="-I/usr/include/python3.12 -I/usr/include/python3.11"; \
	dh_auto_build