#!/usr/bin/make -f # -*- makefile -*- name = globus-gram-job-manager export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed -Wl,-z,defs INSTALLDIR = debian/tmp _docdir = /usr/share/doc/$(name) %: dh $@ override_dh_autoreconf: dh_autoreconf --as-needed override_dh_auto_configure: GLOBUS_VERSION=6.2 \ dh_auto_configure -- \ --disable-static \ --includedir=/usr/include/globus \ --libexecdir=/usr/share/globus \ --docdir=$(_docdir) override_dh_auto_test: GLOBUS_HOSTNAME=localhost dh_auto_test override_dh_auto_install: dh_auto_install # Remove libtool archives (.la files) rm $(INSTALLDIR)/usr/lib/*/*.la # Remove installed license file rm $(INSTALLDIR)$(_docdir)/GLOBUS_LICENSE override_dh_strip: dh_strip --dbgsym-migration='globus-seg-job-manager-dbg (<< 14.36-2~), $(name)-dbg (<< 14.36-2~)' override_dh_fixperms: dh_fixperms -X /var/log/globus -X /var/lib/globus/gram_job_state