File: rules

package info (click to toggle)
madlib 1.3.0-2.1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie-kfreebsd, sid, stretch, wheezy
  • size: 6,912 kB
  • ctags: 4,117
  • sloc: cpp: 39,850; sh: 10,088; makefile: 476
file content (27 lines) | stat: -rwxr-xr-x 994 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
#!/usr/bin/make -f

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

# 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

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

clean::
	-rm Contrib/mathex/mathex.o
	-rm config.log
	-rm config.status
	-rm Benchmarks/checkMesh/Makefile Benchmarks/meshInfo/Makefile Benchmarks/moveIt/Makefile Benchmarks/optimize/Makefile Contrib/ANN/Makefile/Makefile

get-orig-source:
	uscan --force-download --rename --verbose --upstream-version $(MADLIB_VERSION)
	-mv ../madlib_$(MADLIB_VERSION).orig.tar.gz ../tarballs;