File: rules

package info (click to toggle)
shishi 1.0.2-6.2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 21,516 kB
  • sloc: ansic: 58,576; sh: 13,513; yacc: 1,252; makefile: 1,167; perl: 624; sed: 16
file content (28 lines) | stat: -rwxr-xr-x 1,001 bytes parent folder | download | duplicates (3)
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
27
28
#!/usr/bin/make -f

DEB_DH_STRIP_ARGS := --dbg-package=shishi-dbg

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

DEB_DH_MAKESHLIBS_ARGS_libshishi0 = -V'libshishi0 (>= $(DEB_UPSTREAM_VERSION))'
DEB_DH_MAKESHLIBS_ARGS_libshisa0 = -V'libshisa0 (>= $(DEB_UPSTREAM_VERSION))'
DEB_DH_MAKESHLIBS_ARGS_libshishi0 = -- -c4
DEB_DH_MAKESHLIBS_ARGS_libshisa0 = -- -c4

DEB_CONFIGURE_USER_FLAGS = --with-db-dir=/var/lib/shishi
DEB_CONFIGURE_EXTRA_FLAGS = --with-packager=Debian --with-packager-version=$(DEB_VERSION) --with-packager-bug-reports=http://bugs.debian.org/ \
	--enable-gtk-doc

ifneq ($(cdbs_crossbuild),)
DEB_CONFIGURE_EXTRA_FLAGS = --with-libgcrypt-prefix=/usr/$(DEB_HOST_GNU_TYPE)
endif

DEB_MAKE_CHECK_TARGET = check

DEB_COMPRESS_EXCLUDE := shishi.pdf

# Build manual.
common-install-prehook-indep:: common-install-prehook-impl
	cd doc && $(MAKE) install-ps install-pdf install-html DESTDIR=$(DEB_DESTDIR)