aboutsummaryrefslogtreecommitdiff
path: root/pd/tcl/pkg_mkIndex.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'pd/tcl/pkg_mkIndex.tcl')
-rwxr-xr-xpd/tcl/pkg_mkIndex.tcl9
1 files changed, 9 insertions, 0 deletions
diff --git a/pd/tcl/pkg_mkIndex.tcl b/pd/tcl/pkg_mkIndex.tcl
new file mode 100755
index 00000000..12f3ba47
--- /dev/null
+++ b/pd/tcl/pkg_mkIndex.tcl
@@ -0,0 +1,9 @@
+#!/usr/bin/tclsh
+
+puts stdout "Watch out, this doesn't work on packages with namespace import"
+pkg_mkIndex -verbose -- [pwd] *.tcl *.[info sharedlibextension]
+
+## this currently needs to be added to pkg_mkIndex manually, ug
+#package ifneeded pd_menus 0.1 [list source [file join $dir pd_menus.tcl]]
+
+