File: rules

package info (click to toggle)
mtdev 1.1.2-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 1,488 kB
  • sloc: sh: 11,043; ansic: 1,442; python: 85; makefile: 57
file content (24 lines) | stat: -rwxr-xr-x 675 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
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/cdbs/1/class/autotools.mk

DEB_CONFIGURE_EXTRA_FLAGS += --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
distribution	:= $(shell lsb_release -is)
LDFLAGS += -Wl,-z,defs -Wl,--as-needed

DEB_DH_MAKESHLIBS_ARGS_libmtdev1 = --add-udeb=libmtdev1-udeb

DEB_INSTALL_MANPAGES_mtdev-tools = debian/mtdev-test.1

change_dist: control links

links:
	$(MAKE) -f debian/rules.conf $@

common-binary-post-install-arch::
	find debian/tmp/usr/lib -name \*.la -exec rm {} \;
	find debian/tmp/usr/lib -name \*.a -exec rm {} \;

common-binary-predeb-arch:: list-missing