don't dump hits to STDERR without DEBUG env variable
[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         sudo rm -Rf /tmp/kinoindex
11
12 update:
13         sudo -u backuppc ./bin/BackupPC_updatedb -c
14
15 tar:
16         sudo -u backuppc ./bin/BackupPC_incPartsUpdate
17
18 reset: clean update tar
19
20 reindex:
21         sudo rm -Rf /tmp/kinosearch/
22         sudo -u backuppc DEBUG=1 bin/BackupPC_updatedb -j -v 3