"Fossies" - the Fresh Open Source Software Archive

Member "Mail-SPF-Query-1.999.1/debian/rules" (31 Dec 2005, 1098 Bytes) of package /linux/privat/old/Mail-SPF-Query-1.999.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Make source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/usr/bin/make -f
    2 
    3 PACKAGE = $(shell dh_listpackages)
    4 
    5 ifndef PERL
    6     PERL = /usr/bin/perl
    7 endif
    8 
    9 TMP = $(CURDIR)/debian/$(PACKAGE)
   10 
   11 BUILD = ./Build
   12 
   13 build: build-stamp
   14 build-stamp:
   15     dh_testdir
   16     $(PERL) Makefile.PL INSTALLDIRS=vendor
   17     $(MAKE)
   18     touch build-stamp
   19 
   20 clean:
   21     dh_testdir
   22     dh_testroot
   23     -$(MAKE) distclean
   24     dh_clean build-stamp install-stamp
   25 
   26 install: install-stamp
   27 install-stamp: build-stamp
   28     dh_testdir
   29     dh_testroot
   30     dh_clean -k
   31     
   32     $(MAKE) test
   33     $(MAKE) install DESTDIR=$(TMP)/
   34     
   35     # Put spfd in /usr/sbin:
   36     mkdir -p $(TMP)/usr/sbin
   37     mv $(TMP)/usr/bin/spfd $(TMP)/usr/sbin
   38     
   39     touch install-stamp
   40 
   41 # Build architecture-independent files here:
   42 binary-indep: build install
   43     dh_testdir
   44     dh_testroot
   45     dh_installdocs README
   46     dh_installchangelogs CHANGES
   47     dh_installexamples examples/*
   48     #dh_installman
   49     dh_install
   50     dh_compress
   51     dh_fixperms
   52     dh_installdeb
   53     dh_perl /usr/bin /usr/sbin
   54     dh_gencontrol
   55     dh_md5sums
   56     dh_builddeb
   57 
   58 # Build architecture-dependent files here:
   59 binary-arch:
   60     # Nothing to do.
   61 
   62 binary: binary-indep binary-arch
   63 
   64 .PHONY: build clean binary-indep binary-arch binary install