mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-01-04 14:30:15 +01:00
Restore lost tabs in sed commands
Signed-off-by: Andreas Schwab <schwab@linux-m68k.org> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
parent
e3dc0d1733
commit
c6bc28d433
2 changed files with 6 additions and 6 deletions
|
|
@ -19,9 +19,9 @@ CPP_FILES_FLAGS = $(WCHAR32_FLAGS)
|
|||
|
||||
CPP_SED_MAGIC = $(SED) -e '/^\# *[0-9][0-9]* *.*$$/d' \
|
||||
-e '/^\#line *[0-9][0-9]* *.*$$/d' \
|
||||
-e '/^[ ]*XCOMM$$/s/XCOMM/\#/' \
|
||||
-e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/\#/' \
|
||||
-e '/^[ ]*XHASH/s/XHASH/\#/' \
|
||||
-e '/^[ ]*XCOMM$$/s/XCOMM/\#/' \
|
||||
-e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/\#/' \
|
||||
-e '/^[ ]*XHASH/s/XHASH/\#/' \
|
||||
-e 's,X11_LOCALEDATADIR,$(X11_LOCALEDATADIR),g' \
|
||||
-e '/\@\@$$/s/\@\@$$/\\/'
|
||||
|
||||
|
|
|
|||
|
|
@ -20,19 +20,19 @@ include $(top_srcdir)/cpprules.in
|
|||
|
||||
locale.alias: locale.alias.pre
|
||||
$(AM_V_GEN)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) < $(srcdir)/locale.alias.pre | $(CPP_SED_MAGIC) > locale.alias.l1
|
||||
$(SED) -e '/^[^#][^ ]*:/s/://' -e '/^[^#].*[ ].*:/d' \
|
||||
$(SED) -e '/^[^#][^ ]*:/s/://' -e '/^[^#].*[ ].*:/d' \
|
||||
< locale.alias.l1 > locale.alias.l2
|
||||
cat locale.alias.l2 locale.alias.l1 > locale.alias
|
||||
|
||||
compose.dir: compose.dir.pre
|
||||
$(AM_V_GEN)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) < $(srcdir)/compose.dir.pre | $(CPP_SED_MAGIC) > compose.dir.l1
|
||||
$(SED) -e '/^[^#][^ ]*:/s/://' -e '/^[^#].*[ ].*:/d' \
|
||||
$(SED) -e '/^[^#][^ ]*:/s/://' -e '/^[^#].*[ ].*:/d' \
|
||||
< compose.dir.l1 > compose.dir.l2
|
||||
cat compose.dir.l2 compose.dir.l1 > compose.dir
|
||||
|
||||
locale.dir: locale.dir.pre
|
||||
$(AM_V_GEN)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) < $(srcdir)/locale.dir.pre | $(CPP_SED_MAGIC) > locale.dir.l1
|
||||
$(SED) -e '/^[^#][^ ]*:/s/://' -e '/^[^#].*[ ].*:/d' \
|
||||
$(SED) -e '/^[^#][^ ]*:/s/://' -e '/^[^#].*[ ].*:/d' \
|
||||
< locale.dir.l1 > locale.dir.l2
|
||||
cat locale.dir.l2 locale.dir.l1 > locale.dir
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue