diff options
| author | Amar Tumballi <amarts@redhat.com> | 2018-09-17 17:17:54 +0530 |
|---|---|---|
| committer | Xavi Hernandez <xhernandez@redhat.com> | 2018-10-05 10:12:29 +0000 |
| commit | 76bd93c7b889deafd4d5e1e9387714a6c1918ac7 (patch) | |
| tree | 269da17c97019b79687839b02e7049ef78d6f8d3 /xlators/experimental/jbr-client/src/Makefile.am | |
| parent | c1f04098227c17bbebe286871c75524c80eb8b3a (diff) | |
xlators/experimental: move template files to '.c.in' type
This is critical because we shouldn't be applying the automated
coding standard (clang-format) tool on these files.
This patchset is done by below steps:
* clang-format -i ${filename}
This creates syntax errors. Fix them using below two commands:
* sed -i -e 's/ @/@/g' ${filename}
* sed -i -e 's/,@/, @/g' ${filename}
With this, these files are having minimum changes requried to
compile, and is as close to the coding standard as possible.
* git rename ${filename} ${filename}.in
Updates: bz#1564149
Change-Id: Icf90f7f81d6fa4400be4826e094fdff8e64508d0
Signed-off-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'xlators/experimental/jbr-client/src/Makefile.am')
| -rw-r--r-- | xlators/experimental/jbr-client/src/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/experimental/jbr-client/src/Makefile.am b/xlators/experimental/jbr-client/src/Makefile.am index 15616d13798..c71f5ff1e83 100644 --- a/xlators/experimental/jbr-client/src/Makefile.am +++ b/xlators/experimental/jbr-client/src/Makefile.am @@ -22,7 +22,7 @@ AM_CFLAGS = -Wall $(GF_CFLAGS) JBRC_PREFIX = $(top_srcdir)/xlators/experimental/jbr-client/src JBRC_GEN_FOPS = $(JBRC_PREFIX)/gen-fops.py -JBRC_TEMPLATES = $(JBRC_PREFIX)/fop-template.c +JBRC_TEMPLATES = $(JBRC_PREFIX)/fop-template.c.in JBRC_WRAPPER = $(JBRC_PREFIX)/jbrc.c noinst_PYTHON = $(JBRC_GEN_FOPS) EXTRA_DIST = $(JBRC_TEMPLATES) $(JBRC_WRAPPER) |
