/[BackupPC]/trunk/Makefile
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 45 by dpavlin, Sat Aug 20 11:39:05 2005 UTC revision 46 by dpavlin, Sat Aug 20 12:40:24 2005 UTC
# Line 1  Line 1 
1  tmp=/tmp/backuppc-svn/  tmp=/tmp/backuppc-svn/
2  target=/data/backuppc/  target=/data/backuppc/
3    profile_opt=-d
4    profile_file=profile
5    
6  all:  all:
7          @echo "make install to install BackupPC using sudo"          @echo "make install to install BackupPC using sudo"
# Line 32  asa: Line 34  asa:
34  profile:  profile:
35          test -e tmon.out || touch tmon.out          test -e tmon.out || touch tmon.out
36          sudo chown backuppc tmon.out          sudo chown backuppc tmon.out
37          sudo -u backuppc perl -d:DProf /data/backuppc/bin/BackupPC_updatedb -v 2          date > $(profile_file)
38            echo "## NORMAL RUN" >> $(profile_file)
39            sudo -u backuppc /data/backuppc/bin/BackupPC_updatedb $(profile_opt) | tee -a $(profile_file)
40            echo "## DProf RUN" >> $(profile_file)
41            sudo -u backuppc perl -d:DProf /data/backuppc/bin/BackupPC_updatedb $(profile_opt)
42            dprofpp 2>&1 | tee -a $(profile_file)
43            echo "## DBI_PROFILE RUN" >> $(profile_file)
44            DBI_PROFILE=2 sudo -u backuppc /data/backuppc/bin/BackupPC_updatedb $(profile_opt) 2>&1 | tee -a $(profile_file)
45            mv $(profile_file) profile.`perl -e 'my @p = glob("profile.[0-9]*"); print scalar @p + 1'`
46    

Legend:
Removed from v.45  
changed lines
  Added in v.46

  ViewVC Help
Powered by ViewVC 1.1.26