1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
#!/usr/bin/make -f
# -*- makefile -*-
name = globus-gram-job-manager-fork
export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs
INSTALLDIR = debian/tmp
_docdir = /usr/share/doc/$(name)
perl_vendorlib = $(shell eval "`perl -V:installvendorlib`"; echo $$installvendorlib)
%:
dh $@
override_dh_auto_configure:
MPIEXEC=no \
MPIRUN=no \
dh_auto_configure -- \
--disable-static \
--includedir=/usr/include/globus \
--libexecdir=/usr/share/globus \
--docdir=$(_docdir) \
--with-perlmoduledir=$(perl_vendorlib) \
--with-globus-state-dir=/var/log/globus
override_dh_auto_install:
dh_auto_install
# Remove libtool archives (.la files)
rm $(INSTALLDIR)/usr/lib/*/*.la
# Remove jobmanager-fork from install dir - leave it for admin config
rm $(INSTALLDIR)/etc/grid-services/jobmanager-fork
# Remove installed license file
rm $(INSTALLDIR)$(_docdir)/GLOBUS_LICENSE
|