Skip to content

Commit

Permalink
cmd: drop unused check-syntax-c target
Browse files Browse the repository at this point in the history
The target is no longer used anywhere.

Signed-off-by: Maciej Borzecki <[email protected]>
  • Loading branch information
bboozzoo committed Feb 17, 2025
1 parent 584f380 commit c64bfe9
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions cmd/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,6 @@ subdirs = \
# TODO: conver those to autotools-style tests later
check: check-unit-tests

# Force particular coding style on all source and header files.
.PHONY: check-syntax-c
check-syntax-c:
echo "WARNING: check-syntax-c produces different results for different version of indent"
echo "Your version of indent: `indent --version`"
@d=`mktemp -d`; \
trap 'rm -rf $d' EXIT; \
for f in $(foreach dir,$(subdirs),$(wildcard $(srcdir)/$(dir)/*.[ch])) ; do \
out="$$d/`basename $$f.out`"; \
echo "Checking $$f ... "; \
HOME=$(srcdir) indent "$$f" -o "$$out"; \
diff -Naur "$$f" "$$out" || exit 1; \
done;

.PHONY: check-unit-tests
if WITH_UNIT_TESTS
check-unit-tests: snap-confine/unit-tests system-shutdown/unit-tests libsnap-confine-private/unit-tests snap-device-helper/unit-tests
Expand Down

0 comments on commit c64bfe9

Please sign in to comment.