"Fossies" - the Fresh Open Source Software Archive

Member "fake-1.1.11/debian/rules" (8 Jul 2009, 1695 Bytes) of package /linux/misc/old/fake-1.1.11.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 # Sample debian/rules that uses debhelper.
    3 # GNU copyright 1997 to 1999 by Joey Hess.
    4 
    5 build: build-stamp
    6 build-stamp:
    7     dh_testdir
    8     $(MAKE) patch all
    9     touch build-stamp
   10 
   11 clean:
   12     dh_testdir
   13     dh_testroot
   14     rm -f build-stamp
   15 
   16     [ ! -f Makefile ] || $(MAKE) clean
   17 
   18     dh_clean
   19 
   20 install: build
   21     dh_testdir
   22     dh_testroot
   23     dh_clean -k
   24     dh_installdirs
   25 
   26     $(MAKE) \
   27       ROOT_DIR=$(CURDIR)/debian/tmp \
   28       MAN8_DIR=$(CURDIR)/debian/tmp/usr/share/man/man8/ \
   29       install
   30 
   31     mkdir -p $(CURDIR)/debian/tmp/usr/share/doc/fake
   32     install -c -m 644 instance_config/192.168.89.19.cfg \
   33       $(CURDIR)/debian/tmp/usr/share/doc/fake/
   34     install -c -m 644 instance_config/203.12.97.7.cfg \
   35       $(CURDIR)/debian/tmp/usr/share/doc/fake/
   36     install -c -m 644 README $(CURDIR)/debian/tmp/usr/share/doc/fake/
   37     install -c -m 644 AUTHORS $(CURDIR)/debian/tmp/usr/share/doc/fake/
   38     install -c -m 644 ChangeLog \
   39       $(CURDIR)/debian/tmp/usr/share/doc/fake/changelog
   40     gzip --best $(CURDIR)/debian/tmp/usr/share/doc/fake/changelog
   41     install -c -m 644 docs/redundant_linux.txt \
   42       $(CURDIR)/debian/tmp/usr/share/doc/fake/
   43     gzip --best \
   44       $(CURDIR)/debian/tmp/usr/share/doc/fake/redundant_linux.txt
   45     install -c -m 644 docs/arp_fun.txt \
   46       $(CURDIR)/debian/tmp/usr/share/doc/fake/
   47     gzip --best $(CURDIR)/debian/tmp/usr/share/doc/fake/arp_fun.txt
   48 
   49     dh_movefiles --source=debian/tmp
   50 
   51 binary-indep: build install
   52 
   53 binary-arch: build install
   54     dh_testdir
   55     dh_testroot
   56     dh_installdocs
   57     dh_installchangelogs
   58     dh_link
   59     dh_strip
   60     dh_compress
   61     dh_fixperms
   62     dh_makeshlibs
   63     dh_installdeb
   64     dh_shlibdeps
   65     dh_gencontrol
   66     dh_md5sums
   67     dh_builddeb
   68 
   69 binary: binary-indep binary-arch
   70 .PHONY: build clean binary-indep binary-arch binary install