indent breaks config.h Makefile parts
This commit is contained in:
2
Makefile
2
Makefile
@@ -45,6 +45,7 @@ bindist: XXMakefile
|
|||||||
$(MAKE) -f XXMakefile bindist
|
$(MAKE) -f XXMakefile bindist
|
||||||
|
|
||||||
indent:
|
indent:
|
||||||
|
mv -f config.h config.h-
|
||||||
# indent -orig -nce -ncdb -i4 -di1 -nbc *.c *.h
|
# indent -orig -nce -ncdb -i4 -di1 -nbc *.c *.h
|
||||||
indent -orig -nce -ncdb -i4 -di1 -nbc -l79 -ncs -npcs -nfca -ss \
|
indent -orig -nce -ncdb -i4 -di1 -nbc -l79 -ncs -npcs -nfca -ss \
|
||||||
-TAnchor -TAnchorList -TBuffer -TBufferPoint -TBreakpoint \
|
-TAnchor -TAnchorList -TBuffer -TBufferPoint -TBreakpoint \
|
||||||
@@ -69,6 +70,7 @@ indent:
|
|||||||
-TURLOption -TURLFile \
|
-TURLOption -TURLFile \
|
||||||
-TVector \
|
-TVector \
|
||||||
*.c *.h
|
*.c *.h
|
||||||
|
mv -f config.h- config.h
|
||||||
|
|
||||||
XXMakefile: XMakefile config.h
|
XXMakefile: XMakefile config.h
|
||||||
awk '/^#ifdef makefile_parameter/,/^#else/' config.h | cat - XMakefile > XXMakefile
|
awk '/^#ifdef makefile_parameter/,/^#else/' config.h | cat - XMakefile > XXMakefile
|
||||||
|
Reference in New Issue
Block a user