summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2007-10-15 11:01:19 -0400
committerMichael DeHaan <mdehaan@redhat.com>2007-10-15 11:01:19 -0400
commit096b9e109e2f8a954af25b8f5241d5f7fd089755 (patch)
tree57b70179eed0b5b3b65a8f78d3fb5ad8093496d5 /Makefile
parent2fd4775c68160a8617fff5f7015542bf8c1501e5 (diff)
downloadthird_party-cobbler-096b9e109e2f8a954af25b8f5241d5f7fd089755.zip
third_party-cobbler-096b9e109e2f8a954af25b8f5241d5f7fd089755.tar.gz
third_party-cobbler-096b9e109e2f8a954af25b8f5241d5f7fd089755.tar.xz
Work on an shelve-based external storage, for performance testing. Sqlite
is just as likely at this point.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 12 insertions, 1 deletions
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*