/[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 46 by dpavlin, Sat Aug 20 12:40:24 2005 UTC revision 47 by dpavlin, Sat Aug 20 14:08:02 2005 UTC
# Line 31  asa: Line 31  asa:
31          rsync -rav $(tmp) 10.210.99.1:backuppc-svn/          rsync -rav $(tmp) 10.210.99.1:backuppc-svn/
32          rm -Rf $(tmp)          rm -Rf $(tmp)
33    
34  profile:  profile: test
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          date > $(profile_file)          date > $(profile_file)
# Line 42  profile: Line 42  profile:
42          dprofpp 2>&1 | tee -a $(profile_file)          dprofpp 2>&1 | tee -a $(profile_file)
43          echo "## DBI_PROFILE RUN" >> $(profile_file)          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)          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'`          mv $(profile_file) profile.`perl -e 'my @p = glob("profile.[0-9]*"); print scalar @p + 2'`
46    

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

  ViewVC Help
Powered by ViewVC 1.1.26