blob: bb6e1a0677d51f6cc487a0fe24c6c03a1f940f40 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh
files=$(git ls-files \
'Source/*.h' \
'Source/*.h.in' \
'Source/*.hxx' \
'Utilities/cm3p/*.h' \
'Utilities/cmThirdParty.h.in' \
'Utilities/std/cm' \
'Utilities/std/cmext' \
'Utilities/std/cmSTL.hxx.in' \
| grep -v '^Source/CPack/cmCPackConfigure\.h\.in$' \
| grep -v '^Source/cmCPluginAPI\.h$' \
| grep -v '^Source/cmVersionConfig\.h\.in$' \
| grep -v '^Source/CursesDialog/form/' \
| grep -v '^Source/LexerParser/' \
| grep -v '^Source/kwsys/' \
| grep -v '\.cxx$' \
)
perl -i Utilities/Scripts/pragma-once.pl $files
|