Skip to content

Commit 2858e5b

Browse files
committed
Low: Build: Update indent settings
1 parent e2ab398 commit 2858e5b

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

GNUmakefile

+6-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,12 @@ changes:
180180
@printf "\n"
181181

182182
indent:
183-
find . -name "*.c" -exec ./p-indent \{\} \;
183+
find . -name "*.h" -exec ./p-indent \{\} \;
184+
find mcp -name "*.c" -exec ./p-indent \{\} \;
185+
find cib -name "*.c" -exec ./p-indent \{\} \;
186+
find crmd -name "*.c" -exec ./p-indent \{\} \;
187+
find fencing -name "*.c" -exec ./p-indent \{\} \;
188+
find pengine -name "*.c" -exec ./p-indent \{\} \;
184189

185190
rel-tags: tags
186191
find . -name TAGS -exec sed -i.sed 's:\(.*\)/\(.*\)/TAGS:\2/TAGS:g' \{\} \;

p-indent

+3-3
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ OPTS="$OPTS --continuation-indentation4"
5151
#OPTS="$OPTS --format-all-comments"
5252
#OPTS="$OPTS --format-first-column-comments"
5353
#OPTS="$OPTS --gnu-style"
54-
#OPTS="$OPTS --honour-newlines"
54+
OPTS="$OPTS --honour-newlines"
5555
#OPTS="$OPTS --ignore-newlines"
5656
#OPTS="$OPTS --ignore-profile"
57-
#OPTS="$OPTS --indent-label"
57+
OPTS="$OPTS --indent-label2"
5858
OPTS="$OPTS --indent-level4"
5959
#OPTS="$OPTS --k-and-r-style"
6060
#OPTS="$OPTS --leave-optional-blank-lines"
@@ -81,7 +81,7 @@ OPTS="$OPTS --no-tabs"
8181
#OPTS="$OPTS --parameter-indentation0"
8282
#OPTS="$OPTS --paren-indentation"
8383
#OPTS="$OPTS --preserve-mtime"
84-
#OPTS="$OPTS --preprocessor-indentation"
84+
OPTS="$OPTS --preprocessor-indentation2"
8585
OPTS="$OPTS --procnames-start-lines"
8686
#OPTS="$OPTS --remove-preprocessor-space"
8787
#OPTS="$OPTS --space-after-cast"

0 commit comments

Comments
 (0)