~ubuntu-branches/ubuntu/vivid/libwiki-toolkit-formatter-usemod-perl/vivid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Dominic Hargreaves
  • Date: 2008-05-05 16:32:42 UTC
  • mfrom: (1.1.1 upstream) (2.1.1 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080505163242-2mhz2xh17hd0d7ap
Tags: 0.22-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
        dh_testroot
44
44
 
45
45
        # Add commands to clean up after the build process here
46
 
        -$(MAKE) distclean
 
46
        [ ! -f Makefile ] || $(MAKE) distclean
47
47
        rm -f t/node.db
48
48
        rm -f t/sqlite.db
49
49
        
60
60
        
61
61
        # As this is a architecture independent package, we are not supposed to install
62
62
        # stuff to /usr/lib. MakeMaker creates the dirs, we delete them from the deb:
63
 
        rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5
 
63
        [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
64
64
 
65
65
        touch install-stamp
66
66