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 34 35 36
|
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -lglpk
# 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
ifeq ($(filter nooc,$(DEB_BUILD_PROFILES)),)
cd SYMPHONY/Doc && ( latex man ; latex man ; dvipdfm man )
endif
override_dh_auto_configure:
dh_auto_configure -- --enable-static --enable-dependency-linking --with-gmpl
# disable tests due to missing input files. See #1068745
override_dh_auto_test:
override_dh_auto_install:
dh_auto_install --
chrpath -d debian/tmp/usr/bin/symphony
ifeq ($(filter nooc,$(DEB_BUILD_PROFILES)),)
$(RM) debian/tmp/usr/share/coin/doc/SYMPHONY/LICENSE
endif
override_dh_clean:
dh_clean --exclude=Makefile.orig
|