File: rules

package info (click to toggle)
python-deadlib 3.13.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,636 kB
  • sloc: python: 25,254; makefile: 11
file content (16 lines) | stat: -rwxr-xr-x 426 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export STANDARD_MODULES=chunk aifc asynchat imghdr mailcap nntplib pipes smtpd sndhdr sunau uu xdrlib

%:
	dh $@ --buildsystem=pybuild

override_dh_auto_build:
	set -e; for f in $(STANDARD_MODULES); do \
		echo "Building $$f" ; \
		dh_auto_build -- --dir $$f; \
		find $(CURDIR)/.pybuild/ -name '*.whl' -delete;\
	done

execute_after_dh_auto_clean:
	find $(CURDIR) -type d -name 'build' -exec rm -R {} + ;