File: rules

package info (click to toggle)
lksctp-tools 1.0.9.dfsg-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,600 kB
  • ctags: 935
  • sloc: ansic: 12,203; sh: 9,057; makefile: 234
file content (15 lines) | stat: -rwxr-xr-x 534 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f
  
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk

DEB_INSTALL_DOCS_ALL := README AUTHORS
# Do not create a shlibs file for libwithsctp.
DEB_DH_MAKESHLIBS_ARGS_lksctp-tools := -Xlibwithsctp
# Tell dh_shlibdeps where to find our own libs.
DEB_SHLIBDEPS_INCLUDE := debian/tmp/usr/lib

binary-post-install/lksctp-tools::
	sed -e 's|\$${exec_prefix}|/usr|' debian/tmp/usr/bin/withsctp > debian/lksctp-tools/usr/bin/withsctp