aboutsummaryrefslogtreecommitdiff
path: root/libxcb/tools/README
diff options
context:
space:
mode:
Diffstat (limited to 'libxcb/tools/README')
-rw-r--r--libxcb/tools/README17
1 files changed, 17 insertions, 0 deletions
diff --git a/libxcb/tools/README b/libxcb/tools/README
new file mode 100644
index 000000000..2d1874e14
--- /dev/null
+++ b/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 {} +
+