]> oss.titaniummirror.com Git - oss-web.git/blobdiff - Makefile
Some build dependency info in Makefile
[oss-web.git] / Makefile
index 9d767ab055b28615024c770715e0a7c24388b403..e21812dd4c8c6d90093fef3107ee062adabc4938 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,6 @@
 #!/usr/bin/make
+#
+# Requires python-mako and python-docutils APT packages
 
 server = oss.titaniummirror.com
 deployurl = sysadmin@$(server):/var/www/oss/
@@ -9,6 +11,13 @@ all: webber.conf
 profile:
        ./webber --profile
 
+lint:
+       pylint \
+               --include-ids=y \
+               --reports=n \
+               --disable-msg=W0312,C0103 \
+               webber.py plugins
+
 clean:
        rm -f *.pyc plugins/*.pyc
 
@@ -26,3 +35,6 @@ ifeq ($(wildcard webber.conf),)
 webber.conf: in/webber.conf
        ln -s in/webber.conf
 endif
+
+serve:
+       python serve.py