diff options
author | Florian Weimer <fw@deneb.enyo.de> | 2005-12-15 13:44:01 +0000 |
---|---|---|
committer | Florian Weimer <fw@deneb.enyo.de> | 2005-12-15 13:44:01 +0000 |
commit | 5c1086543df73ae59bda945501037a7f88110150 (patch) | |
tree | ede02e50b7512efeff91586514ea05dd816131ee /Makefile | |
parent | ba30b5fa463ce80c351db6bbe315f2ab492f6cc5 (diff) |
bin/update-db:
Do not hard-code the database name. Use SQLite in non-synchronous
mode.
Makefile (all):
Run bin/update-db on a copy of the database, so that we can continue
to serve requests while the database is being updated.
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@3056 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -11,7 +11,10 @@ SARGE_ARCHS = alpha arm hppa i386 ia64 m68k mips mipsel powerpc s390 sparc ETCH_ARCHS = $(SARGE_ARCHS) all: - $(PYTHON) bin/update-db + rm -f data/security-new.db data/security-new.db.journal + cp data/security.db data/security-new.db + $(PYTHON) bin/update-db data/security-new.db + mv data/security-new.db data/security.db clean: -rm data/security.db lib/python/test_security.db |