summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 14e7e47..084b926 100644
--- a/Makefile
+++ b/Makefile
@@ -22,6 +22,7 @@ test:
-cp /var/lib/cobbler/profiles* /tmp/cobbler_test_bak
-cp /var/lib/cobbler/systems* /tmp/cobbler_test_bak
-cp /var/lib/cobbler/repos* /tmp/cobbler_test_bak
+ -cp /var/lib/cobbler/repos* /tmp/cobbler_test_bak
python tests/tests.py
-cp /tmp/cobbler_test_bak/* /var/lib/cobbler
@@ -38,11 +39,15 @@ 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
+ cp /var/www/cobbler/cgi-bin/.htpasswd /tmp/cobbler_htpasswd
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
+ cp /tmp/cobbler_htpasswd /var/www/cobbler/cgi-bin/.htpasswd
find /var/lib/cobbler/triggers | xargs chmod +x
+ chown -R apache /var/www/cobbler
+ chown -R apache /var/www/cgi-bin/cobbler
sdist: clean messages updatewui
python setup.py sdist