/[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 10 by dpavlin, Thu Jun 23 13:10:03 2005 UTC revision 21 by dpavlin, Mon Jul 11 14:59:05 2005 UTC
# Line 1  Line 1 
1    tmp=/tmp/backuppc-svn/
2    
3  all:  all:
4          @echo "make install to install BackupPC using sudo"          @echo "make install to install BackupPC using sudo"
5    
6  test:  test: stop reinstall start
7    
8    reinstall:
9          sudo perl ./configure.pl --batch --config-path=/data/backuppc/data/conf/config.pl          sudo perl ./configure.pl --batch --config-path=/data/backuppc/data/conf/config.pl
10    
11  install:  install:
# Line 11  start: Line 15  start:
15          sudo -u backuppc /data/backuppc/bin/BackupPC -d          sudo -u backuppc /data/backuppc/bin/BackupPC -d
16    
17  stop:  stop:
18          sudo -u backuppc killall BackupPC          sudo -u backuppc killall BackupPC && sleep 1 || true
19    
20    asa:
21            rm -Rf $(tmp)
22            svn export . $(tmp)
23            rsync -rav $(tmp) 10.210.99.1:backuppc-svn/
24            rm -Rf $(tmp)

Legend:
Removed from v.10  
changed lines
  Added in v.21

  ViewVC Help
Powered by ViewVC 1.1.26