Commits

Jan Borsodi committed e77f64a

scope-doc: The target option is now only set if it is specified, now the value in hob.conf is used instead.

Comments (0)

Files changed (1)

             rst_opts = ["--syntax", self.syntax]
         else:
             hob_opts = ["--config-file", join(abspath(self.service_source_path), "hob.conf")]
-        hob_opts += ["--target", self.target]
+        if self.target:
+            hob_opts += ["--target", self.target]
 
         if self.clean_service_dir:
             self.newSection("CLEAN SERVICES %s" % self.service_out_path)
     if not temp_dir:
         temp_dir = tempdir(["scope-doc"])
     gen.build = gen.build_dir = temp_dir
-    gen.target = target or "all"
+    gen.target = target
     gen.syntax = 'scope'
     gen.sphinx = sphinx_cmd
     gen.sphinx_builders = ["html"]