~ubuntu-branches/ubuntu/maverick/haskell-vty/maverick

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Eric Warmenhoven
  • Date: 2008-03-31 17:40:43 UTC
  • Revision ID: james.westby@ubuntu.com-20080331174043-qg11umjcfytmosnt
Tags: 3.0.1-1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
# -*- makefile -*-
 
3
# Sample debian/rules that uses debhelper.
 
4
# This file was originally written by Joey Hess and Craig Small.
 
5
# As a special exception, when this file is copied by dh-make into a
 
6
# dh-make output file, you may use that output file without restriction.
 
7
# This special exception was added by Craig Small in version 0.37 of dh-make.
 
8
 
 
9
# Uncomment this to turn on verbose mode.
 
10
#export DH_VERBOSE=1
 
11
 
 
12
configure: configure-stamp
 
13
configure-stamp:
 
14
        dh_testdir
 
15
        touch $@
 
16
 
 
17
 
 
18
build: build-stamp
 
19
build-stamp: configure-stamp 
 
20
        dh_testdir
 
21
        touch $@
 
22
 
 
23
clean:
 
24
        dh_testdir
 
25
        dh_testroot
 
26
        rm -f build-stamp configure-stamp
 
27
 
 
28
        # Add here commands to clean up after the build process.
 
29
        [ ! -f ./setup ] || ./setup clean
 
30
        -rm -rf setup Setup.hi Setup.ho Setup.o .*config* dist
 
31
 
 
32
        dh_clean 
 
33
 
 
34
install: build
 
35
        dh_testdir
 
36
        dh_testroot
 
37
        dh_clean -k 
 
38
        dh_installdirs
 
39
 
 
40
        # Add here commands to install the package into debian/tmp
 
41
        dh_haskell
 
42
 
 
43
 
 
44
# Build architecture-independent files here.
 
45
binary-indep: build install
 
46
# We have nothing to do by default.
 
47
 
 
48
# Build architecture-dependent files here.
 
49
binary-arch: build install
 
50
        dh_testdir
 
51
        dh_testroot
 
52
        dh_installchangelogs 
 
53
        dh_installdocs
 
54
        dh_installexamples
 
55
        dh_install
 
56
        dh_link
 
57
        dh_strip
 
58
        dh_compress -X.hs
 
59
        dh_fixperms
 
60
        dh_makeshlibs
 
61
        dh_installdeb
 
62
        dh_shlibdeps
 
63
        dh_gencontrol
 
64
        dh_md5sums
 
65
        dh_builddeb
 
66
 
 
67
binary: binary-indep binary-arch
 
68
.PHONY: build clean binary-indep binary-arch binary install configure