File: rules

package info (click to toggle)
libdmtx 0.7.2-2%2Bbuild1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 3,676 kB
  • sloc: sh: 10,371; ansic: 10,144; cs: 596; makefile: 204; java: 161; objc: 157; python: 125; perl: 28; php: 18; ruby: 16
file content (26 lines) | stat: -rwxr-xr-x 795 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
26
#!/usr/bin/make -f

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

DEB_DH_INSTALL_SOURCEDIR := debian/tmp
DEB_CONFIGURE_EXTRA_FLAGS += --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)

binary-predeb/libdmtx0a::
	cd debian/libdmtx0a/usr/share/doc/libdmtx0a && \
		rm -f AUTHORS*

binary-predeb/libdmtx-utils::
	cd debian/libdmtx-utils/usr/share/doc/libdmtx-utils && \
		rm -f AUTHORS* README* NEWS* TODO*

binary-predeb/libdmtx-dev::
	cd debian/libdmtx-dev/usr/share/doc/libdmtx-dev && \
		rm -f AUTHORS* README* NEWS* TODO*
	sed -i "/dependency_libs/ s/'.*'/''/" \
		$(shell find debian/libdmtx-dev/ -name '*.la')

binary-fixup/libdmtx-dev::
	cd debian/libdmtx-dev/usr/share/doc/libdmtx-dev/examples && \
		find . -type f -print0 | xargs -r0 chmod 644