~ubuntu-branches/ubuntu/saucy/libconvert-pem-perl/saucy

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): gregor herrmann
  • Date: 2008-03-07 20:04:42 UTC
  • Revision ID: james.westby@ubuntu.com-20080307200442-mt5c8r1npkhjrklm
Tags: 0.07-2
* debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
  field (source stanza). Removed: XS-Vcs-Svn fields.
* debian/rules:
  - delete /usr/lib/perl5 only if it exists (closes: #467731)
  - let install-stamp target depend on build-stamp
* debian/watch: use dist-based URL.
* Set Standards-Version to 3.7.3 (no changes).

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
        dh_clean build-stamp install-stamp
34
34
        [ ! -f Makefile ] || $(MAKE) realclean
35
35
 
36
 
install: build install-stamp
37
 
install-stamp:
 
36
install: install-stamp
 
37
install-stamp: build-stamp
38
38
        dh_testdir
39
39
        dh_testroot
40
40
        dh_clean -k
43
43
        # As this is a architecture independent package, we are not
44
44
        # supposed to install stuff to /usr/lib. MakeMaker creates
45
45
        # the dirs, we delete them from the deb:
46
 
        rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5
 
46
        [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
47
47
 
48
48
        touch install-stamp
49
49