minor fixes
[senf.git] / Makefile
index 9431cfe..250155c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,9 +2,13 @@
 # Some SCONS shortcuts
 #----------------------------------------------------------------------
 
-CONCURRENCY_LEVEL ?= 1
+CONCURRENCY_LEVEL ?= 2
 
-SCONS=scons -j $(CONCURRENCY_LEVEL)
+ifdef final
+  FINAL = "final=1"
+endif
+
+SCONS=scons -j $(CONCURRENCY_LEVEL) $(FINAL)
 
 default: build
 
@@ -16,6 +20,9 @@ clean:
 
 all_docs all_tests all:
        $(SCONS) $@
+       
+%/test %/doc:
+       $(SCONS) $@
 
 #----------------------------------------------------------------------
 # Subversion stuff