File: rules

package info (click to toggle)
madlib 1.3.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,196 kB
  • sloc: cpp: 39,851; sh: 10,041; makefile: 473
file content (24 lines) | stat: -rwxr-xr-x 709 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
#!/usr/bin/make -f

# Add here any variable or target overrides you need.
DEB_CONFIGURE_EXTRA_FLAGS :=       \
  --host=$(DEB_HOST_GNU_TYPE)      \
  --build=$(DEB_BUILD_GNU_TYPE)    \
  --prefix=/usr                    \
  --mandir=\$${prefix}/share/man   \
  --infodir=\$${prefix}/share/info\
  --enable-ann --enable-benchmarks \
  --with-hostname=debian

DEB_STRIPPED_UPSTREAM_VERSION = $(shell echo $(DEB_UPSTREAM_VERSION) | sed -n -e 's/\.*$$//p')
MADLIB_VERSION=$(DEB_STRIPPED_UPSTREAM_VERSION)

%:
	dh $@ --without=autoreconf

override_dh_auto_configure:
	dh_auto_configure -- $(DEB_CONFIGURE_EXTRA_FLAGS)

override_dh_installexamples:
	sed -i -e "s,$(CURDIR),BUILDDIR,g" variables
	dh_installexamples