#!/usr/bin/make -f export DH_VERBOSE=1 export FC_DEFAULT=gfortran export FC_OPTIONAL=flang lfortran # The magic debhelper rule %: dh $@ --buildsystem fortran --with fortran execute_after_dh_clean: rm -rf mbuild execute_before_dh_install: # to create pkgconfig file meson setup mbuild --prefix=$(CURDIR)/debian/tmp/usr meson install -C mbuild execute_after_dh_fixperms: chrpath -d debian/libfortran-testdrive-0/usr/lib/*/*