File: rules

package info (click to toggle)
coinor-symphony 5.6.17%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 9,068 kB
  • sloc: ansic: 81,938; sh: 8,863; tcl: 3,473; cpp: 2,179; makefile: 926; csh: 548; python: 497; awk: 177
file content (28 lines) | stat: -rwxr-xr-x 820 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# Ensure texlive respects SOURCE_DATE_EPOCH
export FORCE_SOURCE_DATE=1

# FIXME: upstream has created configure with autoconf that does not know --runstatedir=/run 
#        unfortunately recreating configure depends from some macros that are not provided
#        so cheating for the moment, disable autoreconf and stick to debhelper 10

%:
	dh $@ --without autoreconf

override_dh_auto_build:
	dh_auto_build
	cd Doc && ( latex man ; latex man ; dvipdfm man )

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

override_dh_auto_install:
	dh_auto_install --
	$(RM) debian/tmp/usr/share/coin/doc/SYMPHONY/LICENSE
	chrpath -d debian/tmp/usr/bin/symphony

override_dh_clean:
	dh_clean --exclude=Makefile.orig