blob: 2327b7c7fd8c7adfff25f40f7ec6d1e0f3d9cd06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#! /bin/sh
#
# Author: guy maurel
# May 2022
#
# generate p-files from the sources
#
# the test is only useful for the developers
#
LIST=`ls -1 ../src/*.cpp`
LIST_H=`ls -1 ../src/*.h`
P_FILES="../build/P-files"
#
mkdir -p ${P_FILES}
#
for each in ${LIST} ${LIST_H}
do
bn=`basename ${each}`
echo ${bn}
uncrustify -q -c ../forUncrustifySources.cfg -f ${each} -o /dev/null -p ${P_FILES}/${bn}-p.txt
done
|