mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-05-09 08:28:05 +02:00
For nls/*.pre, allow people to comment lines by starting them with '##'.
This fixes a bunch of cpp warnings from nls/en_US.UTF-8/Compose.pre. Fixing that file would have been a larger diff, and using ## may be nicer to use anyway.
This commit is contained in:
parent
1c75a94790
commit
a225a0be48
1 changed files with 2 additions and 1 deletions
|
|
@ -24,5 +24,6 @@ CPP_SED_MAGIC = $(SED) -e '/^\# *[0-9][0-9]* *.*$$/d' \
|
|||
-e '/^[ ]*XHASH/s/XHASH/\#/' \
|
||||
-e '/\@\@$$/s/\@\@$$/\\/'
|
||||
|
||||
# Allow people to comment out lines by starting them with '##'
|
||||
.pre:
|
||||
$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) < $< | $(CPP_SED_MAGIC) > $@
|
||||
$(SED) -e '/^\#\#/d' $< | $(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) | $(CPP_SED_MAGIC) > $@
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue