File: rules

package info (click to toggle)
cppad 2021.00.00.6-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 11,600 kB
  • sloc: cpp: 93,308; sh: 9,443; makefile: 1,470; python: 327; ansic: 177; sed: 2
file content (32 lines) | stat: -rwxr-xr-x 870 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --buildsystem=cmake --without autoreconf
# adding --without autotools-dev breaks dh_auto_install (!)

override_dh_autotools-dev_updateconfig:
	@echo "using cmake so no need to fiddle with config.guess or config.sub"

override_dh_autotools-dev_restoreconfig:
	@echo "using cmake so no need to fiddle with config.guess or config.sub"

# Depending on how the package evolves, it might make sense at some
# point to make these package into build dependencies:
#
#	libadolc-dev
#	libcolpack-dev
#	coinor-libipopt-dev
#	libtrilinos-sacado-dev
#	libeigen3-dev
#
# and to enable them with something like this:
#
# override_dh_auto_configure:
#	dh_auto_configure --		\
#		-D adolc_prefix=/usr	\
#		-D colpack_prefix=/usr	\
#		-D ipopt_prefix=/usr	\
#		-D sacado_prefix=/usr	\
#		-D eigen_prefix=/usr