summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4d162f3..7a92fe9 100644
--- a/Makefile
+++ b/Makefile
@@ -17,13 +17,13 @@ test: install
python tests/tests.py
-rm -rf /tmp/_cobbler-*
-build: clean messages
+build: clean updatewui messages
python setup.py build -f
install: clean manpage
python setup.py install -f
-sdist: clean messages
+sdist: clean messages updatewui
python setup.py sdist
messages: cobbler/*.py
@@ -55,3 +55,8 @@ srpm: manpage sdist
--define "_sourcedir %{_topdir}" \
-bs --nodeps cobbler.spec
+updatewui:
+ cheetah-compile ./webui_templates/master.tmpl
+ -(rm ./webui_templates/*.bak)
+ mv ./webui_templates/master.py ./cobbler/webui
+