mirror of
https://github.com/martijnvanbrummelen/nwipe.git
synced 2026-02-20 13:42:14 +00:00
Since these modules are considered third-party (at least for now) and we also don't want to apply formatting to them. Also removed the `AUTOMAKE_OPTIONS` from `Makefile.am` since it would appear the `AM_INIT_AUTOMAKE` is actually defining the automake options.
10 lines
233 B
Makefile
10 lines
233 B
Makefile
SUBDIRS = src man
|
|
|
|
# The set of files to be formatted.
|
|
FORMATSOURCES = src/*.c src/*.h
|
|
format:
|
|
clang-format -i -style=file $(FORMATSOURCES)
|
|
|
|
check-format:
|
|
clang-format -i -style=file $(FORMATSOURCES) && git diff-index --quiet HEAD
|