summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2012-10-26 15:00:33 +0200
committerRan Benita <ran234@gmail.com>2012-10-26 15:09:54 +0200
commit22b868fd750252425ef528664f8eb14ed1d5bf8a (patch)
tree808a7fdd4da062d833a2d93223de5ac2590052bd
parent0a5e9d90e74605f997c98a4724f6c72f9d380982 (diff)
Makefile.am: split sed script into multiple lines
To make it visible on one screen. Signed-off-by: Ran Benita <ran234@gmail.com>
-rw-r--r--Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 48b8856..c68aafa 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -185,7 +185,10 @@ update-keysyms:
echo -en '#ifndef _XKBCOMMON_KEYSYMS_H\n#define _XKBCOMMON_KEYSYMS_H\n\n' > $(top_srcdir)/xkbcommon/xkbcommon-keysyms.h
echo -en '/* This file is autogenerated from Makefile.am; please do not commit directly. */\n\n' >> $(top_srcdir)/xkbcommon/xkbcommon-keysyms.h
echo -en '#define XKB_KEY_NoSymbol 0x000000 /* Special KeySym */\n\n' >> $(top_srcdir)/xkbcommon/xkbcommon-keysyms.h
- sed -e '/XK_Ydiaeresis\s*0x100000ee/d; /#define _/d; s/#define\s*\(\w*\)XK_/#define XKB_KEY_\1/; /\(#ifdef\|#ifndef\|#endif\)/d' $(KEYSYMDEFS) >> $(top_srcdir)/xkbcommon/xkbcommon-keysyms.h
+ sed -e '/XK_Ydiaeresis\s*0x100000ee/d' \
+ -e '/#define _/d' \
+ -e 's/#define\s*\(\w*\)XK_/#define XKB_KEY_\1/' \
+ -e '/\(#ifdef\|#ifndef\|#endif\)/d' $(KEYSYMDEFS) >> $(top_srcdir)/xkbcommon/xkbcommon-keysyms.h
echo -en '\n\n#endif\n' >> $(top_srcdir)/xkbcommon/xkbcommon-keysyms.h
echo -en '/* This file is autogenerated from Makefile.am; please do not commit directly. */\n\n' > $(top_srcdir)/src/ks_tables.h
LC_CTYPE=C python $(top_srcdir)/makekeys.py $(top_srcdir)/xkbcommon/xkbcommon-keysyms.h >> $(top_srcdir)/src/ks_tables.h