~ubuntu-branches/ubuntu/natty/aesfix/natty

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Jacob Appelbaum
  • Date: 2008-08-17 21:02:09 UTC
  • Revision ID: james.westby@ubuntu.com-20080817210209-erjbqbavly1boohu
Tags: 1.0.1-1
* Initial release (Closes: #495419)
* Adjusted the Makefile to add $DESTDIR
* Added a man page.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
 
 
3
clean:
 
4
        dh_testdir
 
5
        dh_testroot
 
6
        rm -f build-stamp
 
7
 
 
8
        $(MAKE) clean
 
9
 
 
10
        dh_clean
 
11
 
 
12
build: build-stamp
 
13
build-stamp:
 
14
        dh_testdir
 
15
 
 
16
        CFLAGS="$(CFLAGS)" $(MAKE)
 
17
 
 
18
        touch build-stamp
 
19
 
 
20
install: build
 
21
        dh_testdir
 
22
        dh_testroot
 
23
        dh_prep
 
24
        dh_installdirs
 
25
 
 
26
        $(MAKE) DESTDIR=$(CURDIR)/debian/aesfix install
 
27
 
 
28
binary: binary-arch
 
29
 
 
30
binary-arch: build install
 
31
        dh_testdir
 
32
        dh_testroot
 
33
        dh_installchangelogs
 
34
        dh_installdocs
 
35
        dh_installman
 
36
        dh_strip
 
37
        dh_compress
 
38
        dh_fixperms
 
39
        dh_installdeb
 
40
        dh_shlibdeps
 
41
        dh_gencontrol
 
42
        dh_md5sums
 
43
        dh_builddeb
 
44
 
 
45
binary-indep:
 
46
 
 
47
.PHONY: clean build install binary binary-arch binary-indep