more needed modules
[BackupPC.git] / Makefile
index 111ff51..967b635 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -31,10 +31,11 @@ update:
 
 index: test
        sudo rm -Rf /data/backuppc/data/casket || true
-       sudo -u backuppc /data/backuppc/bin/BackupPC_updatedb -i
+       sudo -u backuppc /data/backuppc/bin/BackupPC_updatedb -j
 
 xls: test
-       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
+       which gnumeric && gnumeric /tmp/report.xls || cp -vf /tmp/report.xls ~/public_html/
 
 asa:
        rm -Rf $(tmp)
@@ -42,6 +43,9 @@ asa:
        rsync -rav $(tmp) 10.210.99.1:backuppc-svn/
        rm -Rf $(tmp)
 
+html:
+       test ! -z "`svn2html.pl`" && svn update && svn2html.pl > doc/Changes.html
+
 profile: test
        test -e tmon.out || touch tmon.out
        sudo chown backuppc tmon.out
@@ -57,3 +61,6 @@ profile: test
        DBI_PROFILE=2 sudo -u backuppc /data/backuppc/bin/BackupPC_updatedb -d $(profile_opt) 2>&1 | tee -a $(profile_file)
        mv $(profile_file) profile.`perl -e 'my @p = glob("profile.[0-9]*"); print scalar @p + 1'`
 
+inc: test
+       sudo -u backuppc /data/backuppc/bin/BackupPC_incPartsUpdate
+