remove debug output to STDERR
[BackupPC.git] / Makefile
1 all:
2         @echo "make reset"
3
4 clean:
5         sudo chown backuppc cgi-bin/index.cgi
6         sudo chmod u+s cgi-bin/index.cgi
7
8 update:
9         dropdb backuppc
10         createdb backuppc
11         createlang plpgsql backuppc
12         sudo -u backuppc rm -Rvf /data/BackupPC/kinosearch /data/BackupPC/_search_archive/* /data/BackupPC/pc/_search_archive/*
13         sudo -u backuppc /etc/init.d/BackupPC restart
14         sudo -u backuppc ./bin/BackupPC_ASA_SearchUpdate -c -m 0
15
16 test: reset
17         ./test/archive.sh
18
19 reset: clean update
20
21