From 76bd93c7b889deafd4d5e1e9387714a6c1918ac7 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Mon, 17 Sep 2018 17:17:54 +0530 Subject: 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 --- xlators/experimental/jbr-server/src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/experimental/jbr-server/src/Makefile.am') diff --git a/xlators/experimental/jbr-server/src/Makefile.am b/xlators/experimental/jbr-server/src/Makefile.am index b3ceb2d9eda..42d3c8a6c36 100644 --- a/xlators/experimental/jbr-server/src/Makefile.am +++ b/xlators/experimental/jbr-server/src/Makefile.am @@ -27,7 +27,7 @@ AM_CFLAGS = -Wall $(GF_CFLAGS) JBR_PREFIX = $(top_srcdir)/xlators/experimental/jbr-server/src JBR_GEN_FOPS = $(JBR_PREFIX)/gen-fops.py -JBR_TEMPLATES = $(JBR_PREFIX)/all-templates.c +JBR_TEMPLATES = $(JBR_PREFIX)/all-templates.c.in JBR_WRAPPER = $(JBR_PREFIX)/jbr.c noinst_PYTHON = $(JBR_GEN_FOPS) EXTRA_DIST = $(JBR_TEMPLATES) $(JBR_WRAPPER) -- cgit