/[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 32 by dpavlin, Fri Jul 29 17:33:23 2005 UTC revision 33 by dpavlin, Sun Jul 31 18:58:26 2005 UTC
# Line 1  Line 1 
1  tmp=/tmp/backuppc-svn/  tmp=/tmp/backuppc-svn/
2    target=/data/backuppc/
3    
4  all:  all:
5          @echo "make install to install BackupPC using sudo"          @echo "make install to install BackupPC using sudo"
# Line 6  all: Line 7  all:
7  test: stop reinstall start  test: stop reinstall start
8    
9  reinstall:  reinstall:
10          sudo perl ./configure.pl --batch --config-path=/data/backuppc/data/conf/config.pl          sudo perl ./configure.pl --batch --config-path=$(target)/data/conf/config.pl
11    
12  install:  install:
13          sudo perl ./configure.pl          sudo perl ./configure.pl
14    
15  start:  start:
16          #sudo -u backuppc /data/backuppc/bin/BackupPC -d          #sudo -u backuppc /data/backuppc/bin/BackupPC -d
17          sudo /data/backuppc/etc/backuppc start          sudo $(target)/etc/backuppc start
18    
19  stop:  stop:
20          #sudo -u backuppc killall BackupPC && sleep 1 || true          #sudo -u backuppc killall BackupPC && sleep 1 || true
21          sudo /data/backuppc/etc/backuppc stop          sudo $(target)/etc/backuppc stop
22    
23    install-etc:
24            test -d $(target)/etc || cp -r etc $(target) && chmod 755 $(target)/etc/backuppc
25    
26  asa:  asa:
27          rm -Rf $(tmp)          rm -Rf $(tmp)

Legend:
Removed from v.32  
changed lines
  Added in v.33

  ViewVC Help
Powered by ViewVC 1.1.26