File: rules

package info (click to toggle)
libktoblzcheck 1.18-2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 2,856 kB
  • ctags: 475
  • sloc: sh: 9,159; cpp: 3,148; ansic: 480; python: 145; perl: 133; makefile: 107
file content (22 lines) | stat: -rwxr-xr-x 904 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
#!/usr/bin/make -f

DEB_DH_INSTALL_SOURCEDIR=$(CURDIR)/debian/tmp

include /usr/share/cdbs/1/class/autotools.mk
DEB_CONFIGURE_EXTRA_FLAGS := --disable-static --with-bankdata-path=/var/lib/ktoblzcheck1
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/dpatch.mk

binary-install/libktoblzcheck1-dev::
	find debian/libktoblzcheck1-dev/usr/share/doc/ -type f -and -size 0 -and -exec rm '{}' ';'
$(patsubst %,install/%,$(DEB_PACKAGES)) ::
	if [ -e debian/$(cdbs_curpkg).lintian-overrides ] ; then \
	  mkdir -p debian/$(cdbs_curpkg)/usr/share/lintian/overrides/ ; \
	  cp debian/$(cdbs_curpkg).lintian-overrides debian/$(cdbs_curpkg)/usr/share/lintian/overrides/$(cdbs_curpkg) ; \
	fi

binary-install/python-ktoblzcheck::
	dh_pycentral -ppython-ktoblzcheck
	if [ -d $(CURDIR)/debian/python-ktoblzcheck/usr/lib ] ; then \
	  rmdir $(CURDIR)/debian/python-ktoblzcheck/usr/lib ; \
	fi