~ubuntu-branches/debian/sid/libperl6-slurp-perl/sid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): gregor herrmann
  • Date: 2006-10-01 14:44:57 UTC
  • mfrom: (2.1.1 edgy)
  • Revision ID: james.westby@ubuntu.com-20061001144457-gmcfowha91by28yk
Tags: 0.03-5
Use $(CURDIR) [make] instead of $(PWD) [sh] to fix issues with sudo.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
PERL    ?= /usr/bin/perl
10
10
 
11
11
package := $(firstword $(shell dh_listpackages))
12
 
prefix  := $(PWD)/debian/$(package)/usr
 
12
prefix  := $(CURDIR)/debian/$(package)/usr
13
13
 
14
14
version := $(shell dpkg-parsechangelog | \
15
15
                sed -ne 's/^Version: *\([0-9]\+:\)*//p')
51
51
        # Add here commands to install the package into debian/libperl6-slurp-perl.
52
52
        $(MAKE) test
53
53
        $(MAKE) pure_install PREFIX=$(prefix)
 
54
        # As this is a architecture independent package, we are not
 
55
        # supposed to install stuff to /usr/lib. MakeMaker creates
 
56
        # the dirs, we delete them from the deb:
 
57
        rmdir --ignore-fail-on-non-empty --parents $(prefix)/lib/perl5
54
58
 
55
59
 
56
60
# Build architecture-independent files here.