File: rules

package info (click to toggle)
rasqal 0.9.32-1
  • links: PTS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 11,124 kB
  • ctags: 4,609
  • sloc: ansic: 39,375; sh: 12,077; yacc: 4,768; makefile: 2,426; perl: 2,007; lex: 1,952; xml: 453
file content (39 lines) | stat: -rwxr-xr-x 1,314 bytes parent folder | download | duplicates (2)
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
29
30
31
32
33
34
35
36
37
38
39
#!/usr/bin/make -f

# Replace default CDBS cleanbuilddir rule; has to be before/after definition
cleanbuilddir::
	# raw clean calls distclean deletes the docs/html documentation
	if test -r Makefile; then \
	  mv docs/html docs/html.saved; \
	fi

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

cleanbuilddir::
	if test -e docs/html.saved; then \
	  mv docs/html.saved docs/html; \
	fi

DEB_INSTALL_DOCS_ALL=README NEWS AUTHORS NOTICE

DEB_INSTALL_MANPAGES_librasqal3-dev=src/rasqal-config.1 docs/librasqal.3
DEB_INSTALL_MANPAGES_rasqal-utils=utils/roqet.1
DEB_SHLIBDEPS_INCLUDE=debian/librasqal3/usr/lib

DEB_CONFIGURE_EXTRA_FLAGS := \
--with-regex-library=pcre --with-decimal=gmp --with-uuid-library=libuuid \
--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)

DEB_DBG_PACKAGE_librasqal3 = librasqal3-dbg

# do this or autoreconf calling libtoolize destroys the build/ directory contents
LIBTOOLIZE=libtoolize --automake --ltdl

# Show what dh_autoreconf is deleting / moving / restoring
DEB_DH_AUTORECONF_ARGS := --verbose

install/librasqal3-dev::
	 cd debian/tmp/usr/lib/* && sed "/dependency_libs/ s/'.*'/''/" librasqal.la > librasqal.la.new && mv librasqal.la.new librasqal.la