#!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # GNU copyright 1997 to 1999 by Joey Hess. # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 %: dh $@ --buildsystem=cmake execute_after_dh_clean: rm -f make.inc if [ -f SRC/superlu_config.h.orig ]; then \ mv SRC/superlu_config.h.orig SRC/superlu_config.h; \ fi execute_before_dh_autoreconf: cp SRC/superlu_config.h SRC/superlu_config.h.orig override_dh_auto_configure: dh_auto_configure -- \ -DBUILD_SHARED_LIBS:BOOL=ON \ -Denable_internal_blaslib:BOOL=OFF \ -DTPL_BLAS_LIBRARIES=blas \ -DCMAKE_INSTALL_INCLUDEDIR:PATH=include/superlu/ \ -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON DEB_SOURCE_PACKAGE = superlu DEB_UPSTREAM_VERSION = $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p') DEB_STRIPPED_UPSTREAM_VERSION = $(shell echo $(DEB_UPSTREAM_VERSION) | sed -n -e 's/+dfsg.*$$//p')