fixed pid file
[BackupPC.git] / Makefile
index 7c87a0f..d796a5a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,21 +2,14 @@ all:
        @echo "make reset"
 
 clean:
        @echo "make reset"
 
 clean:
-       dropdb backuppc
-       createdb backuppc
-       createlang plpgsql backuppc
        sudo chown backuppc cgi-bin/index.cgi
        sudo chmod u+s cgi-bin/index.cgi
        sudo chown backuppc cgi-bin/index.cgi
        sudo chmod u+s cgi-bin/index.cgi
-       sudo rm -Rf /tmp/kinoindex
 
 update:
 
 update:
-       sudo -u backuppc ./bin/BackupPC_updatedb -c
-
-tar:
-       sudo -u backuppc ./bin/BackupPC_incPartsUpdate
+       dropdb backuppc
+       createdb backuppc
+       createlang plpgsql backuppc
+       sudo -u backuppc ./bin/BackupPC_ASA_PostDump_SearchUpdate -c
 
 
-reset: clean update tar
+reset: clean update
 
 
-reindex:
-       sudo rm -Rf /tmp/kinosearch/
-       sudo -u backuppc DEBUG=1 bin/BackupPC_updatedb -j -v 3