File: rules

package info (click to toggle)
coinor-cgl 0.60.3%2Brepack1-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 7,536 kB
  • sloc: cpp: 57,099; sh: 11,245; makefile: 408; ansic: 35
file content (20 lines) | stat: -rwxr-xr-x 518 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_autoreconf:
	dh_autoreconf debian/autogen.sh

override_dh_auto_configure:
	dh_auto_configure -- --enable-static --enable-dot --enable-dependency-linking

execute_after_dh_auto_build:
	make doxydoc
	$(RM) doxydoc/html/*.md5 doxydoc/html/*.dot doxydoc/html/*.map

execute_before_dh_installexamples:
	# Remove full build path from example Makefile
	sed -i -e "s,prefix-map=$(CURDIR),prefix-map=BUILDPATH,g" Cgl/examples/Makefile