File: rules

package info (click to toggle)
gflags 2.1.2-4
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 528 kB
  • ctags: 488
  • sloc: cpp: 3,808; python: 26; sh: 22; makefile: 14
file content (25 lines) | stat: -rwxr-xr-x 583 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
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

CONFIGURE_ARGS= \
 -DCMAKE_BUILD_TYPE=Release \
 -DBUILD_STATIC_LIBS=ON \
 -DBUILD_SHARED_LIBS=ON \
 -DBUILD_TESTING=ON \
 -DLIB_INSTALL_DIR:STRING="lib/$(DEB_HOST_MULTIARCH)"

override_dh_auto_configure:
	dh_auto_configure -- $(CONFIGURE_ARGS)

override_installchangelogs:
	installchangelogs ChangeLog

%:
	dh  $@ --parallel --buildsystem=cmake

.PHONY: override_dh_auto_configure override_installchangelogs