~ubuntu-branches/ubuntu/karmic/libpam-krb5/karmic

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hartman
  • Date: 2002-04-06 20:55:14 UTC
  • Revision ID: james.westby@ubuntu.com-20020406205514-iwfytmlrxk2nqzt3
Tags: 1.0-7
Move fron non-us to main--second to last package of mine

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
# Sample debian/rules that uses debhelper.
 
3
# GNU copyright 1997 to 1999 by Joey Hess.
 
4
 
 
5
# Uncomment this to turn on verbose mode.
 
6
#export DH_VERBOSE=1
 
7
 
 
8
# This is the debhelper compatability version to use.
 
9
export DH_COMPAT=1
 
10
 
 
11
build: build-stamp
 
12
build-stamp:
 
13
        dh_testdir
 
14
 
 
15
        # Add here commands to compile the package.
 
16
        rm -rf build
 
17
        mkdir build
 
18
        cp *.c *.h pam_krb5.5 build
 
19
        cp Makefile build
 
20
#       cd build && patch -p2 < ../patches/pam_krb5.linux.patch
 
21
#       cd build && patch -p1 < ../patches/pam-krb5.patch
 
22
#       cd build && patch -p0 < ../patches/patch-aa
 
23
#       cd build && patch -p0 < ../patches/patch-ab
 
24
#       cd build && patch -p0 < ../patches/patch-ac
 
25
#       cd build && patch -p0 < ../patches/patch-ad
 
26
#       cd build && patch -p0 < ../patches/patch-ae
 
27
#       cd build && patch -p0 < ../patches/patch-af
 
28
#       cd build && patch -p0 < ../patches/patch-ag
 
29
#       cd build && patch -p0 < ../patches/patch-ah
 
30
#       cd build && patch -p0 < ../patches/patch-ai
 
31
        $(MAKE) -C build
 
32
 
 
33
        touch build-stamp
 
34
 
 
35
clean:
 
36
        dh_testdir
 
37
        dh_testroot
 
38
        rm -f build-stamp
 
39
 
 
40
        # Add here commands to clean up after the build process.
 
41
        rm -rf build
 
42
        #-$(MAKE) clean
 
43
 
 
44
        dh_clean
 
45
 
 
46
install: build
 
47
        dh_testdir
 
48
        dh_testroot
 
49
        dh_clean -k
 
50
        dh_installdirs
 
51
 
 
52
        # Add here commands to install the package into debian/tmp.
 
53
        #$(MAKE) -C build install DESTDIR=`pwd`/debian/tmp
 
54
        cp build/pam_krb5.so `pwd`/debian/tmp/lib/security
 
55
 
 
56
 
 
57
# Build architecture-independent files here.
 
58
binary-indep: build install
 
59
# We have nothing to do by default.
 
60
 
 
61
# Build architecture-dependent files here.
 
62
binary-arch: build install
 
63
#       dh_testversion
 
64
        dh_testdir
 
65
        dh_testroot
 
66
#       dh_installdebconf       
 
67
        dh_installdocs
 
68
        dh_installexamples
 
69
        dh_installmenu
 
70
#       dh_installemacsen
 
71
#       dh_installpam
 
72
#       dh_installinit
 
73
        dh_installcron
 
74
        dh_installmanpages
 
75
        dh_installinfo
 
76
#       dh_undocumented
 
77
        dh_installchangelogs 
 
78
        dh_link
 
79
        dh_strip
 
80
        dh_compress
 
81
        dh_fixperms
 
82
        # You may want to make some executables suid here.
 
83
        dh_suidregister
 
84
#       dh_makeshlibs
 
85
        dh_installdeb
 
86
#       dh_perl
 
87
        dh_shlibdeps
 
88
        dh_gencontrol
 
89
        dh_md5sums
 
90
        dh_builddeb
 
91
 
 
92
binary: binary-indep binary-arch
 
93
.PHONY: build clean binary-indep binary-arch binary install