1cc20ff20693c84eb7b35200cdb90b1c4c8632b5
[BackupPC.git] / Makefile
1 all:
2         @echo "make reset"
3
4 clean:
5         dropdb backuppc
6         createdb backuppc
7         createlang plpgsql backuppc
8         sudo chown backuppc cgi-bin/index.cgi
9         sudo chmod u+s cgi-bin/index.cgi
10
11 update:
12         sudo -u backuppc ./bin/BackupPC_updatedb -c
13
14 tar:
15         sudo -u backuppc ./bin/BackupPC_incPartsUpdate
16
17 reset: clean update tar
18
19 reindex:
20         sudo rm -Rf $(index)
21         echo sudo -u backuppc DEBUG=1 bin/BackupPC_updatedb -j -v 3