Packets documentation updates
[senf.git] / Makefile
index dad96af..b09752e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,11 @@
 
 CONCURRENCY_LEVEL ?= 2
 
-SCONS=scons -j $(CONCURRENCY_LEVEL)
+ifdef final
+  FINAL = "final=1"
+endif
+
+SCONS=scons -j $(CONCURRENCY_LEVEL) $(FINAL)
 
 default: build
 
@@ -17,9 +21,12 @@ clean:
 all_docs all_tests all:
        $(SCONS) $@
        
-%/test:
+%/test %/doc:
        $(SCONS) $@
 
+%/build:
+       $(SCONS) $*
+
 #----------------------------------------------------------------------
 # Subversion stuff
 #----------------------------------------------------------------------