aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xkbdata.src/rules/merge.py
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-07-22 17:53:52 +0000
committermarha <marha@users.sourceforge.net>2009-07-22 17:53:52 +0000
commitce6792945179bb9c87def91702fa52c056daa7b0 (patch)
tree8ffab3ec2f50a55d84aa3adbb0386d11fa861a8e /xorg-server/xkbdata.src/rules/merge.py
parentcde4d617b7e6ee1a16454ca2abf13305446aecc9 (diff)
downloadvcxsrv-ce6792945179bb9c87def91702fa52c056daa7b0.tar.gz
vcxsrv-ce6792945179bb9c87def91702fa52c056daa7b0.tar.bz2
vcxsrv-ce6792945179bb9c87def91702fa52c056daa7b0.zip
Makefiles added for xkbdata
Diffstat (limited to 'xorg-server/xkbdata.src/rules/merge.py')
-rw-r--r--xorg-server/xkbdata.src/rules/merge.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/xorg-server/xkbdata.src/rules/merge.py b/xorg-server/xkbdata.src/rules/merge.py
new file mode 100644
index 000000000..442a866f2
--- /dev/null
+++ b/xorg-server/xkbdata.src/rules/merge.py
@@ -0,0 +1,13 @@
+import sys
+
+pOUT=open(sys.argv[1],"wb")
+pHDR=open("HDR","r")
+for item in sys.argv[2:]:
+ if item == 'HDR':
+ pOUT.write("\n")
+ pOUT.write(pHDR.readline())
+ else:
+ pOUT.write(open(item,"rb").read())
+
+pOUT.close()
+