File: rules

package info (click to toggle)
cpuset 1.6-4.1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye
  • size: 756 kB
  • sloc: python: 2,542; sh: 107; makefile: 94
file content (25 lines) | stat: -rwxr-xr-x 750 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
23
24
25
#!/usr/bin/make -f

# This file was automatically generated by stdeb 0.6.0 at
# Sat, 27 Aug 2011 13:17:13 -0400

# Unset the environment variables set by dpkg-buildpackage. (This is
# necessary because distutils is brittle with compiler/linker flags
# set. Specifically, packages using f2py will break without this.)
unexport CPPFLAGS
unexport CFLAGS
unexport CXXFLAGS
unexport FFLAGS
unexport LDFLAGS

export PYBUILD_NAME=cpuset

%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_auto_install:
	dh_auto_install
	mkdir -p $(CURDIR)/debian/cpuset/usr/bin
	mv $(CURDIR)/debian/python3-cpuset/usr/bin/cset $(CURDIR)/debian/cpuset/usr/bin
	rm -rf $(CURDIR)/debian/python3-cpuset/usr/share/doc/cpuset \
		$(CURDIR)/debian/python3-cpuset/usr/bin