~ubuntu-branches/ubuntu/raring/ampliconnoise/raring

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Tim Booth, Steffen sponsoring Tim's update
  • Date: 2011-08-21 13:06:37 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20110821130637-a9053ip5b3ryl10r
Tags: 1.25-1
[ Steffen sponsoring Tim's update ]
* Removed Steffen from uploader's list
* Removing emacs-typical backup files from source tree

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
# Uncomment this to turn on verbose mode.
5
5
#export DH_VERBOSE=1
6
6
 
 
7
# Set source directory - stray . file in root of tarball stops it
 
8
# unpacking cleanly.  Sadly this deosn't help Quilt
 
9
# so I repack the tarball instead.
 
10
# SOURCEDIR := $(shell echo AmpliconNoise*)
 
11
 
 
12
# Override path as a way to hook mpicc
 
13
PATH := $(CURDIR)/debian/bin_override:${PATH}
 
14
export PATH
 
15
 
7
16
%:
8
 
        dh --with quilt  $@
 
17
        dh --with quilt $@
9
18
 
10
19
override_dh_auto_install:
11
20
        make install
12
21
        dh_install bin/* /usr/bin
13
22
        dh_install Data/* /usr/share/ampliconnoise/Data/
 
23
        dh_install Scripts/* /usr/share/ampliconnoise/Scripts/
14
24
 
15
25
#A typo in the upstream Makefile prevents proper cleaning.
16
26
override_dh_clean:
17
27
        dh_clean
18
28
        rm -f *.o SeqNoiseM/SeqNoiseM
19
 
        rm -f manpage_all.1
 
29
        rm -f *.1
20
30
 
21
31
override_dh_installman:
22
32
        debian/ampliconnoise.pod