projects
/
BackupPC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a533d7e
)
re-create installation with make reset
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 9 Jan 2011 18:38:17 +0000
(18:38 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 9 Jan 2011 18:38:17 +0000
(18:38 +0000)
Makefile
[new file with mode: 0644]
patch
|
blob
diff --git a/Makefile
b/Makefile
new file mode 100644
(file)
index 0000000..
407c3ee
--- /dev/null
+++ b/
Makefile
@@ -0,0
+1,18
@@
+all:
+ @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 rm -Rf /tmp/kinoindex
+
+update:
+ sudo -u backuppc ./bin/BackupPC_updatedb -c
+
+tar:
+ sudo -u backuppc ./bin/BackupPC_incPartsUpdate
+
+reset: clean update tar