/[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 108 by dpavlin, Wed Aug 31 21:22:48 2005 UTC revision 119 by dpavlin, Wed Sep 14 13:20:03 2005 UTC
# Line 34  index: test Line 34  index: test
34          sudo -u backuppc /data/backuppc/bin/BackupPC_updatedb -i          sudo -u backuppc /data/backuppc/bin/BackupPC_updatedb -i
35    
36  xls: test  xls: test
37          sudo -u backuppc /data/backuppc/bin/BackupPC_xls_report && cp -vf /tmp/report.xls ~/public_html/          sudo -u backuppc /data/backuppc/bin/BackupPC_xls_report
38            which gnumeric && gnumeric /tmp/report.xls || cp -vf /tmp/report.xls ~/public_html/
39    
40  asa:  asa:
41          rm -Rf $(tmp)          rm -Rf $(tmp)
# Line 42  asa: Line 43  asa:
43          rsync -rav $(tmp) 10.210.99.1:backuppc-svn/          rsync -rav $(tmp) 10.210.99.1:backuppc-svn/
44          rm -Rf $(tmp)          rm -Rf $(tmp)
45    
46    html:
47            test ! -z "`svn2html.pl`" && svn update && svn2html.pl > doc/Changes.html
48    
49  profile: test  profile: test
50          test -e tmon.out || touch tmon.out          test -e tmon.out || touch tmon.out
51          sudo chown backuppc tmon.out          sudo chown backuppc tmon.out
# Line 49  profile: test Line 53  profile: test
53          createdb $(db)          createdb $(db)
54          date > $(profile_file)          date > $(profile_file)
55          echo "## NORMAL RUN" >> $(profile_file)          echo "## NORMAL RUN" >> $(profile_file)
56            sudo rm -Rf /data/backuppc/data/casket || true
57            estcall raw -auth admin admin 'http://localhost:1978/master?action=nodedel&name=backuppc' || true
58            estcall raw -auth admin admin 'http://localhost:1978/master?action=nodeadd&name=backuppc&label=BackupPC%20search%20index'
59          sudo -u backuppc /data/backuppc/bin/BackupPC_updatedb -c $(profile_opt) | tee -a $(profile_file)          sudo -u backuppc /data/backuppc/bin/BackupPC_updatedb -c $(profile_opt) | tee -a $(profile_file)
60          echo "## DProf RUN" >> $(profile_file)          echo "## DProf RUN" >> $(profile_file)
61            sudo rm -Rf /data/backuppc/data/casket || true
62            estcall raw -auth admin admin 'http://localhost:1978/master?action=nodeadd&name=backuppc&label=BackupPC%20search%20index'
63          sudo -u backuppc perl -d:DProf /data/backuppc/bin/BackupPC_updatedb -d $(profile_opt)          sudo -u backuppc perl -d:DProf /data/backuppc/bin/BackupPC_updatedb -d $(profile_opt)
64          dprofpp 2>&1 | tee -a $(profile_file)          dprofpp 2>&1 | tee -a $(profile_file)
65          echo "## DBI_PROFILE RUN" >> $(profile_file)          echo "## DBI_PROFILE RUN" >> $(profile_file)

Legend:
Removed from v.108  
changed lines
  Added in v.119

  ViewVC Help
Powered by ViewVC 1.1.26