+description "Creates a new bbtk package file structure on disk (Graphical user interface for the script bbCreatePackage)."
+author "laurent.guigues at creatis.insa-lyon.fr"
+category "bbtk tool"
+
load wx
load std
set description.Title "Description"
set description.In " "
-new Sizer info
+new LayoutLine info
connect name.Widget info.Widget1
connect author.Widget info.Widget2
connect description.Widget info.Widget3
--- /dev/null
+
+include std
+
+define MakePackageDoc toolsbbtk
+ description "Creates the html documentation of a package. The doc is generated at the 'canonical' location. Works both for a build tree or an installed toolkit."
+ author "laurent.guigues at creatis.insa-lyon.fr"
+ category "bbtk tool"
+
+ new StringRelay package
+
+ input Package package.In "The name of the package"
+ print "== Creating html doc for package $package.Out$ =="
+
+ new ConcatStrings command
+ set command.In1 "exec freeze; include "
+ connect package.Out command.In2
+ set command.In3 "; include "
+ connect package.Out command.In4
+ set command.In5 "-appli; graph "
+ connect package.Out command.In6
+ set command.In7 " 0 0 "
+
+ new Configuration conf
+ new ConcatStrings path
+ connect conf.DocPath path.In1
+ connect conf.FileSeparator path.In2
+ set path.In3 "bbdoc"
+ connect conf.FileSeparator path.In4
+ connect package.Out path.In5
+ connect conf.FileSeparator path.In6
+
+ new ConcatStrings command2
+ connect command.Out command2.In1
+ connect path.Out command2.In2
+ set command2.In3 "index.html "
+ connect path.Out command2.In4
+ set command2.In5 "header.html 'Package "
+ connect package.Out command2.In6
+ set command2.In7 " documentation'"
+
+ output Command command2.Out "The command issued"
+
+ new ExecBbiCommand exec
+ connect command2.Out exec.In
+
+ exec exec
+endefine