~ubuntu-branches/ubuntu/saucy/debsigs/saucy

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Branden Robinson
  • Date: 2002-09-19 17:55:29 UTC
  • Revision ID: james.westby@ubuntu.com-20020919175529-8cjsoswzc882un47
Tags: 0.1.14
* debsigs, debsigs-autosign: you can't use a module and run one of its
  methods at the same time; do these things separately (thanks, Joey Hess)
  (Closes: #161542)
* debsigs: stop hard-coding the path to gpg (thanks, Joey Hess)
  (Closes: #161543)
* debsigs: update $VERSION
* debsigs: add FUTURE DIRECTIONS section to POD
* debsigs-signchanges: only dig into @ARGV if it's defined (thanks, Joey
  Hess) (Closes: #161540)
* debsigs-installer: wrote rudimentary manpage

* debian/control:
  - bump Standards-Version to 3.5.7 (no changes needed)
  - add dependency on gnupg (Closes: #161544)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
 
 
3
# Uncomment this to turn on verbose mode.
 
4
#export DH_VERBOSE=1
 
5
 
 
6
# This is the debhelper compatability version to use.
 
7
export DH_COMPAT=1
 
8
 
 
9
TMP     =`pwd`/debian/tmp
 
10
 
 
11
configure: configure-stamp
 
12
configure-stamp:
 
13
        dh_testdir
 
14
        perl Makefile.PL INSTALLDIRS=vendor
 
15
        touch configure-stamp
 
16
 
 
17
build: configure-stamp build-stamp
 
18
build-stamp:
 
19
        dh_testdir
 
20
        $(MAKE) OPTIMIZE="-O2 -g -Wall"
 
21
        #/usr/bin/docbook-to-man debian/debsigs.sgml > debsigs.1
 
22
        touch build-stamp
 
23
 
 
24
clean:
 
25
        dh_testdir
 
26
        dh_testroot
 
27
        dh_clean
 
28
        rm -f build-stamp configure-stamp
 
29
        -$(MAKE) distclean
 
30
 
 
31
install: build
 
32
        dh_testdir
 
33
        dh_testroot
 
34
        dh_clean
 
35
        dh_installdirs
 
36
        $(MAKE) PREFIX=$(TMP)/usr install
 
37
 
 
38
# Build architecture-independent files here.
 
39
binary-arch: build install
 
40
# We have nothing to do by default.
 
41
 
 
42
# Build architecture-dependent files here.
 
43
binary-indep: build install
 
44
#       dh_testversion
 
45
        dh_testdir
 
46
        dh_testroot
 
47
#       dh_installdebconf
 
48
        dh_installdocs
 
49
        dh_installchangelogs
 
50
        dh_installexamples
 
51
        dh_installmenu
 
52
#       dh_installemacsen
 
53
#       dh_installpam
 
54
#       dh_installinit
 
55
        dh_installcron
 
56
        dh_installmanpages
 
57
        dh_installinfo
 
58
        dh_perl
 
59
#       dh_undocumented
 
60
        dh_link
 
61
        dh_strip
 
62
        dh_compress
 
63
        dh_fixperms
 
64
#       dh_makeshlibs
 
65
        dh_installdeb
 
66
        dh_shlibdeps
 
67
        dh_gencontrol
 
68
        dh_md5sums
 
69
        dh_builddeb
 
70
 
 
71
binary: binary-indep binary-arch
 
72
.PHONY: build clean binary-indep binary-arch binary install