#!/usr/bin/make -f

DH_VERBOSE = 1
LDFLAGS += -lgfortran -lm

%:
	dh $@

override_dh_strip:
	dh_strip --dbg-package=coinor-csdp-dbg

override_dh_compress:
	dh_compress -X.pdf

override_dh_auto_build:
	dh_auto_build
	cd doc && ( pdflatex csdpuser.tex ; bibtex csdpuser \
		pdflatex csdpuser.tex; pdflatex csdpuser.tex )

override_dh_auto_install:
	dh_auto_install -- prefix=/usr
