summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Eckersberg <jeckersb@redhat.com>2009-02-28 19:43:42 -0500
committerJohn Eckersberg <jeckersb@redhat.com>2009-02-28 19:43:42 -0500
commitd9349eb697f256830513f2100696efb92378c354 (patch)
tree684909f871ee27704213059915a192f798fc76c6 /Makefile
parent12f11d7a3232d0c0adb82f24522adec6ca06833e (diff)
downloadcobbler-d9349eb697f256830513f2100696efb92378c354.tar.gz
cobbler-d9349eb697f256830513f2100696efb92378c354.tar.xz
cobbler-d9349eb697f256830513f2100696efb92378c354.zip
- Add 'tags' target in Makefile to build emacs tags file
- Cleanup whitespace in Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 11 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 796e9a0c..79b7d091 100644
--- a/Makefile
+++ b/Makefile
@@ -16,8 +16,8 @@ clean:
manpage:
pod2man --center="cobbler" --release="" ./docs/cobbler.pod | gzip -c > ./docs/cobbler.1.gz
pod2html ./docs/cobbler.pod > ./docs/cobbler.html
-
-test:
+
+test:
make savestate prefix=test
make rpms
make install
@@ -39,9 +39,9 @@ install: manpage updatewui
debinstall: manpage updatewui
python setup.py install -f --root $(DESTDIR)
-devinstall:
- make savestate
- make install
+devinstall:
+ make savestate
+ make install
make restorestate
savestate:
@@ -64,7 +64,7 @@ restorestate:
cp $(statepath)/users.digest /etc/cobbler/users.digest
cp $(statepath)/http.conf /etc/httpd/conf.d/cobbler.conf
find /var/lib/cobbler/triggers | xargs chmod +x
- chown -R apache /var/www/cobbler
+ chown -R apache /var/www/cobbler
chmod -R +x /var/www/cobbler/web
chmod -R +x /var/www/cobbler/svc
rm -rf $(statepath)
@@ -73,9 +73,9 @@ completion:
python mkbash.py
webtest: updatewui devinstall
- make clean
- make updatewui
- make devinstall
+ make clean
+ make updatewui
+ make devinstall
make restartservices
restartservices:
@@ -122,3 +122,5 @@ eraseconfig:
graphviz:
dot -Tpdf docs/cobbler.dot -o cobbler.pdf
+tags:
+ find . -type f -name '*.py' | xargs etags -c TAGS