feat: extend Makefile indent target
- extend the C indent file pattern - add shfmt, if installedmaster
parent
eddca44221
commit
e0a0fa6174
5
Makefile
5
Makefile
|
@ -91,9 +91,8 @@ dracut-util: util/util
|
|||
cp -a $< $@
|
||||
|
||||
indent:
|
||||
indent -i8 -nut -br -linux -l120 install/dracut-install.c
|
||||
indent -i8 -nut -br -linux -l120 skipcpio/skipcpio.c
|
||||
indent -i8 -nut -br -linux -l120 util/util.c
|
||||
indent -i8 -nut -br -linux -l120 $(wildcard *.[ch] */*.[ch])
|
||||
if type -P shfmt >/dev/null; then shfmt -w -s .; fi
|
||||
|
||||
doc: $(manpages) dracut.html
|
||||
|
||||
|
|
Loading…
Reference in New Issue