From 752b793aa03b67eeff6b01c7f0bdb729f00bd49b Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Mon, 19 Mar 2007 19:09:27 -0700 Subject: Add support for checking sources with sparse/lint/etc. --- Makefile.am | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index e45c79a..cdf2bac 100644 --- a/Makefile.am +++ b/Makefile.am @@ -92,3 +92,11 @@ SUFFIXES = .$(APP_MAN_SUFFIX) .man .man.$(APP_MAN_SUFFIX): sed $(MAN_SUBSTS) < $< > $@ + +if LINT +ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) + +lint: + $(LINT) $(ALL_LINT_FLAGS) $(AM_CFLAGS) $(xdpyinfo_SOURCES) +endif LINT -- cgit v1.2.3