File: rules

package info (click to toggle)
tagcoll2 2.0.11-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 2,400 kB
  • ctags: 1,470
  • sloc: sh: 8,977; cpp: 6,242; makefile: 187; lex: 54; yacc: 27
file content (18 lines) | stat: -rwxr-xr-x 479 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

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

DEB_MAKE_CHECK_TARGET := check
DEB_CONFIGURE_EXTRA_FLAGS += --disable-shared --with-pic

DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
ifeq ($(DEB_HOST_ARCH),alpha)
ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
	DEB_OPT_FLAG = -O1
endif
endif

# Store build information
common-binary-post-install-arch common-binary-post-install-indep::
	dh_buildinfo