1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- --enable-mpi
override_dh_auto_install:
dh_auto_install
find $(CURDIR)/debian/ -name "*.la" | xargs rm -f
sed -i -e "s/mpicc/gcc/g" $(CURDIR)/debian/tmp/usr/share/gerris/build_function
rm -rf $(CURDIR)/debian/tmp/usr/bin/darcs2dist
rm -rf $(CURDIR)/debian/tmp/usr/bin/gfs2doc
override_dh_installchangelogs:
dh_installchangelogs ChangeLog
# test suite is written in python2, so don't run
override_dh_auto_test:
|