summaryrefslogtreecommitdiff
path: root/dist/libxcb/tools/README
diff options
context:
space:
mode:
Diffstat (limited to 'dist/libxcb/tools/README')
-rw-r--r--dist/libxcb/tools/README17
1 files changed, 17 insertions, 0 deletions
diff --git a/dist/libxcb/tools/README b/dist/libxcb/tools/README
new file mode 100644
index 000000000..2d1874e14
--- /dev/null
+++ b/dist/libxcb/tools/README
@@ -0,0 +1,17 @@
+
+api_conv.pl:
+------------
+
+ Description: used to convert old XCB names in camel case to lower
+ case names.
+
+ Usage:
+
+ * for several files:
+
+perl -i xcb/tools/api_conv.pl xcb/tools/constants <file1> <file2> ...
+
+ * for a directory:
+
+find dir -name '*.[ch]' -exec perl -i xcb/tools/api_conv.pl xcb/tools/constants {} +
+