File: rules

package info (click to toggle)
librostlab 1.0.20-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,620 kB
  • ctags: 253
  • sloc: sh: 10,131; cpp: 826; makefile: 115
file content (33 lines) | stat: -rwxr-xr-x 882 bytes parent folder | download
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
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
export CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)

%:
	dh $@ --with autoreconf --parallel

.PHONY: override_dh_auto_configure
override_dh_auto_configure:
	dh_auto_configure --parallel -- --enable-doxygen-dot --enable-doxygen-pdf

.PHONY: override_dh_auto_build
override_dh_auto_build:
	dh_auto_build --parallel
	$(MAKE) -C lib doxygen-doc

.PHONY: override_dh_strip
override_dh_strip:
	dh_strip --dbg-package=librostlab3-dbg

.PHONY: override_dh_compress
override_dh_compress:
	dh_compress -Xlibrostlab.tag

.PHONY: get-orig-source
get-orig-source:
	mkdir -p ../tarballs
	uscan --verbose --force-download --destdir=../tarballs