#!/usr/bin/make -f # -*- makefile -*- name = globus-gram-audit _name = globus_gram_audit INSTALLDIR = $(CURDIR)/debian/tmp _prefix = /usr _bindir = $(_prefix)/bin _sbindir = $(_prefix)/sbin _includedir = $(_prefix)/include _datadir = $(_prefix)/share _mandir = $(_datadir)/man _docdir = $(_datadir)/doc/$(name) configure: configure-stamp configure-stamp: dh_testdir dh_autoreconf dh_auto_configure -- \ --disable-static \ --includedir=$(_includedir)/globus \ --libexecdir=$(_datadir)/globus \ --docdir=$(_docdir) touch $@ build: build-arch build-indep build-arch: build-indep: build-stamp build-stamp: configure-stamp dh_testdir $(MAKE) touch $@ clean: dh_testdir dh_testroot if [ -r Makefile ] ; then $(MAKE) distclean ; fi dh_autoreconf_clean rm -f build-stamp configure-stamp dh_clean install: build-stamp dh_testdir dh_testroot dh_prep $(MAKE) 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 binary: binary-arch binary-indep binary-arch: binary-indep: install dh_testdir dh_testroot dh_installdocs debian/README dh_installchangelogs dh_install dh_missing --fail-missing dh_installman dh_lintian dh_link dh_compress dh_fixperms -X /var/lib/globus/gram-audit dh_perl dh_installdeb dh_gencontrol dh_md5sums dh_builddeb .PHONY: binary binary-arch binary-indep build build-arch build-indep clean configure install