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
|
#!/usr/bin/make -f
# -*- makefile -*-
name = globus-gram-audit
INSTALLDIR = debian/tmp
_docdir = /usr/share/doc/$(name)
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- \
--disable-static \
--includedir=/usr/include/globus \
--libexecdir=/usr/share/globus \
--docdir=$(_docdir)
override_dh_auto_install:
dh_auto_install --destdir=$(INSTALLDIR)
# Rename cron script
mv $(INSTALLDIR)/etc/cron.hourly/globus-gram-audit.cron \
$(INSTALLDIR)/etc/cron.hourly/globus-gram-audit
# Remove installed license file
rm $(INSTALLDIR)$(_docdir)/GLOBUS_LICENSE
override_dh_fixperms:
dh_fixperms -X /var/lib/globus/gram-audit
|