aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/util')
-rw-r--r--libX11/src/util/.gitignore2
-rw-r--r--libX11/src/util/mkks.sh22
2 files changed, 13 insertions, 11 deletions
diff --git a/libX11/src/util/.gitignore b/libX11/src/util/.gitignore
new file mode 100644
index 000000000..e744d636d
--- /dev/null
+++ b/libX11/src/util/.gitignore
@@ -0,0 +1,2 @@
+# Add & Override for this directory and it's subdirectories
+makekeys
diff --git a/libX11/src/util/mkks.sh b/libX11/src/util/mkks.sh
index 262cc9540..3e80c354b 100644
--- a/libX11/src/util/mkks.sh
+++ b/libX11/src/util/mkks.sh
@@ -1,11 +1,11 @@
-#!/bin/sh
-
-cat $* | awk 'BEGIN { \
- printf "/*\n * This file is generated from %s. Do not edit.\n */\n", \
- "$(INCLUDESRC)/keysymdef.h";\
-} \
-/^#define/ { \
- len = length($2)-3; \
- printf("{ \"%s\", %s },\n", substr($2,4,len), $3); \
-}'
-
+#!/bin/sh
+
+cat $* | awk 'BEGIN { \
+ printf "/*\n * This file is generated from %s. Do not edit.\n */\n", \
+ "$(INCLUDESRC)/keysymdef.h";\
+} \
+/^#define/ { \
+ len = length($2)-3; \
+ printf("{ \"%s\", %s },\n", substr($2,4,len), $3); \
+}'
+