/[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

Annotation of /trunk/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 45 - (hide annotations)
Sat Aug 20 11:39:05 2005 UTC (18 years, 8 months ago) by dpavlin
File size: 796 byte(s)
fine-tune debug output, profile target

1 dpavlin 21 tmp=/tmp/backuppc-svn/
2 dpavlin 33 target=/data/backuppc/
3 dpavlin 21
4 dpavlin 10 all:
5     @echo "make install to install BackupPC using sudo"
6    
7 dpavlin 11 test: stop reinstall start
8    
9     reinstall:
10 dpavlin 33 sudo perl ./configure.pl --batch --config-path=$(target)/data/conf/config.pl
11 dpavlin 10
12     install:
13     sudo perl ./configure.pl
14    
15     start:
16 dpavlin 28 #sudo -u backuppc /data/backuppc/bin/BackupPC -d
17 dpavlin 33 sudo $(target)/etc/backuppc start
18 dpavlin 10
19     stop:
20 dpavlin 28 #sudo -u backuppc killall BackupPC && sleep 1 || true
21 dpavlin 33 sudo $(target)/etc/backuppc stop
22 dpavlin 21
23 dpavlin 33 install-etc:
24     test -d $(target)/etc || cp -r etc $(target) && chmod 755 $(target)/etc/backuppc
25    
26 dpavlin 21 asa:
27     rm -Rf $(tmp)
28     svn export . $(tmp)
29     rsync -rav $(tmp) 10.210.99.1:backuppc-svn/
30     rm -Rf $(tmp)
31 dpavlin 45
32     profile:
33     test -e tmon.out || touch tmon.out
34     sudo chown backuppc tmon.out
35     sudo -u backuppc perl -d:DProf /data/backuppc/bin/BackupPC_updatedb -v 2

  ViewVC Help
Powered by ViewVC 1.1.26