File: rules

package info (click to toggle)
numactl 2.0.8~rc4-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 784 kB
  • sloc: ansic: 5,765; sh: 363; makefile: 150; perl: 59
file content (20 lines) | stat: -rwxr-xr-x 761 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

include /usr/share/cdbs/1/class/makefile.mk
include /usr/share/cdbs/1/rules/debhelper.mk
# Including this file gets us a simple patch system.  You can just
# drop patches in debian/patches, and they will be automatically
# applied and unapplied.
# include /usr/share/cdbs/1/rules/simple-patchsys.mk

DEB_MAKE_CLEAN_TARGET    := clean
DEB_MAKE_BUILD_TARGET    := all
# We need to set libdir, because upstream assumes biarch support
DEB_MAKE_INSTALL_TARGET  := install prefix=$(CURDIR)/debian/tmp/usr libdir=$(CURDIR)/debian/tmp/usr/lib
DEB_SHLIBDEPS_INCLUDE_numactl	:= debian/tmp/usr/lib
DEB_DH_MAKESHLIBS_ARGS	 := -V

# the debian clean process seems to unpatch, then clean.  therefore
# we miss this file (#442690)
clean:: 
	rm -f libnuma.a