aboutsummaryrefslogtreecommitdiff
path: root/libX11/cpprules.in
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/cpprules.in')
-rw-r--r--libX11/cpprules.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/libX11/cpprules.in b/libX11/cpprules.in
index b8857bae8..52e34a012 100644
--- a/libX11/cpprules.in
+++ b/libX11/cpprules.in
@@ -22,8 +22,8 @@ CPP_SED_MAGIC = $(SED) -e '/^\# *[0-9][0-9]* *.*$$/d' \
-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/\@\@$$/\\/'
-# Allow people to comment out lines by starting them with '##'
.pre:
- $(SED) -e '/^\#\#/d' $< | $(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) | $(CPP_SED_MAGIC) > $@
+ $(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) < $< | $(CPP_SED_MAGIC) > $@