#!/usr/bin/make -f # $HeadURL$ $LastChangedRevision$ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 configure: configure-stamp configure-stamp: dh_testdir @# Configure to install under / $(MAKE) \ ADECONF_FLAGS="\ --prefix=/ \ --bindir=/usr/bin \ --cfgdir=/etc \ --docdir=/usr/share/doc/aubdom \ --incdir=/usr/include/aubdom \ --lckdir=/var/run \ --libdir=/usr/lib/aubdom \ --libdir=/var/log \ --mandir=/usr/share/man \ --sttdir=/var/lib/aubdom \ " configure touch configure-stamp build: build-stamp build-stamp: configure-stamp dh_testdir $(MAKE) \ PERL_CMD=/usr/bin/perl \ SHELL_CMD=/bin/bash $(MAKE) tests touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp $(MAKE) clean distclean dh_clean install: build dh_testdir dh_testroot dh_clean -k dh_installdirs @# Actually install under $(CURDIR) $(MAKE) \ DIR=$(CURDIR)/debian/aubdom \ BINDIR=$(CURDIR)/debian/aubdom/usr/bin \ CFGDIR=$(CURDIR)/debian/aubdom/etc \ DOCDIR=$(CURDIR)/debian/aubdom/usr/share/doc/aubdom \ INCDIR=$(CURDIR)/debian/aubdom/usr/include/aubdom \ LCKDIR=$(CURDIR)/debian/aubdom/var/run \ LIBDIR=$(CURDIR)/debian/aubdom/usr/lib/aubdom \ LOGDIR=$(CURDIR)/debian/aubdom/var/log \ MANDIR=$(CURDIR)/debian/aubdom/usr/share/man \ STTDIR=$(CURDIR)/debian/aubdom/var/lib/aubdom \ install @# 'COPYING' should not be installed; according to 'lintian' @# all copyright info should be collected in the 'copyright' @# file, and standard licenses should be referenced, but not @# actually included, and 'COPYING' is such a license. rm -f $(CURDIR)/debian/aubdom/usr/share/doc/aubdom/COPYING @# According to 'lintian -i', Debian policy says that @# 'ChangeLog' should be called 'changelog'. It also says @# that it should be compressed, but that happens @# automatically. mv $(CURDIR)/debian/aubdom/usr/share/doc/aubdom/ChangeLog $(CURDIR)/debian/aubdom/usr/share/doc/aubdom/changelog # Build architecture-dependent files here. binary-indep: build install echo "doing binary-indep ..." dh_testdir dh_testroot dh_installchangelogs dh_installdocs doc/README.1ST doc/TODO dh_installexamples # dh_install # dh_installmenu # dh_installdebconf # dh_installlogrotate # dh_installemacsen # dh_installpam # dh_installmime # dh_installinit # dh_installcron # dh_installinfo dh_installman dh_link # dh_strip dh_compress dh_fixperms # dh_perl # dh_python # dh_makeshlibs dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep .PHONY: build clean binary-indep binary install configure