diff options
-rw-r--r-- | Makefile.am | 8 | ||||
-rw-r--r-- | configure.ac | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index a7e88be..0db86a1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -63,3 +63,11 @@ ChangeLog: (GIT_DIR=$(top_srcdir)/.git git-log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2) dist-hook: ChangeLog + +if LINT +ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(bdftopcf_CFLAGS) + +lint: + $(LINT) $(ALL_LINT_FLAGS) $(bdftopcf_SOURCES) +endif LINT diff --git a/configure.ac b/configure.ac index 29fc961..99789b3 100644 --- a/configure.ac +++ b/configure.ac @@ -35,6 +35,7 @@ PKG_CHECK_MODULES(BDFTOPCF, xfont) AC_SUBST(BDFTOPCF_CFLAGS) AC_SUBST(BDFTOPCF_LIBS) +XORG_WITH_LINT XORG_MANPAGE_SECTIONS XORG_RELEASE_VERSION |