~ubuntu-branches/ubuntu/wily/backuppc/wily

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Allison Randal
  • Date: 2011-05-29 17:49:10 UTC
  • Revision ID: james.westby@ubuntu.com-20110529174910-w3cfhi7da5bxwbe5
Tags: 3.2.0-3ubuntu5
Replace dependency on perl-suid with a small setuid wrapper, since the
perl-suid package been removed in Perl 5.12. (LP: #786250) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
        # Add here commands to compile the package.
30
30
        #$(MAKE)
31
31
        #/usr/bin/docbook-to-man debian/backuppc.sgml > backuppc.1
 
32
        cc debian/setuidwrapper.c -o index.cgi
32
33
 
33
34
        touch build-stamp
34
35
 
35
36
clean:
36
37
        dh_testdir
37
38
        dh_testroot
38
 
        rm -f build-stamp configure-stamp
 
39
        rm -f build-stamp configure-stamp index.cgi
39
40
 
40
41
        # Add here commands to clean up after the build process.
41
42
        rm -f init.d/*-backuppc*
63
64
            
64
65
        pod2man --section=8 --center="BackupPC manual" doc/BackupPC.pod backuppc.8
65
66
        perl -e "s/.IX Title.*/.SH NAME\nbackuppc \\- BackupPC manual/g" -p -i.tmp backuppc.8
66
 
        mv -f debian/backuppc/usr/share/backuppc/cgi-bin/* debian/backuppc/usr/share/backuppc/cgi-bin/index.cgi
 
67
        mv -f debian/backuppc/usr/share/backuppc/cgi-bin/BackupPC_Admin debian/backuppc/usr/share/backuppc/cgi-bin/BackupPC_Admin.pl
 
68
        install --mode=4750 index.cgi debian/backuppc/usr/share/backuppc/cgi-bin
67
69
        install --mode=644 conf/hosts debian/backuppc/etc/backuppc
68
70
        install --mode=644 debian/localhost.pl debian/backuppc/etc/backuppc
69
71
        install --mode=644 debian/apache.conf debian/backuppc/etc/backuppc