summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cfg.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/cfg.mk b/cfg.mk
index 82310f8443..ef9aed3464 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -93,6 +93,25 @@ upload-web-coverage:
cd $(htmldir) && \
cvs commit -m "Update." coverage
+# Clang
+
+clang:
+ make clean
+ scan-build ./configure
+ rm -rf scan.tmp
+ scan-build -o scan.tmp make
+
+clang-copy:
+ rm -fv `find $(htmldir)/clang -type f | grep -v CVS`
+ mkdir -p $(htmldir)/clang/
+ cp -rv scan.tmp/*/* $(htmldir)/clang/
+
+clang-upload:
+ cd $(htmldir) && \
+ cvs add clang || true && \
+ cvs add clang/*.css clang/*.js clang/*.html || true && \
+ cvs commit -m "Update." clang
+
# Release
ChangeLog: