From 096b9e109e2f8a954af25b8f5241d5f7fd089755 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Mon, 15 Oct 2007 11:01:19 -0400 Subject: Work on an shelve-based external storage, for performance testing. Sqlite is just as likely at this point. --- Makefile | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index cb2661a..11dc5ce 100644 --- a/Makefile +++ b/Makefile @@ -16,9 +16,13 @@ manpage: pod2man --center="cobbler" --release="" ./docs/cobbler.pod | gzip -c > ./docs/cobbler.1.gz pod2html ./docs/cobbler.pod > ./docs/cobbler.html -test: install +test: python tests/tests.py -rm -rf /tmp/_cobbler-* + +test2: + python tests/multi.py + build: clean updatewui messages python setup.py build -f @@ -28,9 +32,11 @@ install: clean manpage devinstall: cp /var/lib/cobbler/settings /tmp/cobbler_settings cp /etc/cobbler/auth.conf /tmp/cobbler_auth.conf + cp /etc/cobbler/modules.conf /tmp/cobbler_modules.conf make install cp /tmp/cobbler_settings /var/lib/cobbler/settings cp /tmp/cobbler_auth.conf /etc/cobbler/auth.conf + cp /tmp/cobbler_modules.conf /etc/cobbler/modules.conf sdist: clean messages updatewui python setup.py sdist @@ -69,3 +75,8 @@ updatewui: -(rm ./webui_templates/*.bak) mv ./webui_templates/master.py ./cobbler/webui +eraseconfig: + -rm /var/lib/cobbler/distros* + -rm /var/lib/cobbler/profiles* + -rm /var/lib/cobbler/systems* + -rm /var/lib/cobbler/repos* -- cgit