From aaa3cace2f265ed1b0f417bbb12d7752f3d10a74 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 21 Apr 2008 22:48:13 +0200 Subject: Run Guile-Lint on documentation modules. * doc/modules/Makefile.am (CLEANFILES, lintable): New. Include `guile-lint.am'. * guile-lint.am: Add "-L $(top_srcdir)/doc/modules". --- doc/modules/.gitignore | 1 + doc/modules/Makefile.am | 5 +++++ guile-lint.am | 8 +++++--- 3 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 doc/modules/.gitignore diff --git a/doc/modules/.gitignore b/doc/modules/.gitignore new file mode 100644 index 0000000..9b141a6 --- /dev/null +++ b/doc/modules/.gitignore @@ -0,0 +1 @@ +stamp-lint diff --git a/doc/modules/Makefile.am b/doc/modules/Makefile.am index bb28818..16ce897 100644 --- a/doc/modules/Makefile.am +++ b/doc/modules/Makefile.am @@ -3,3 +3,8 @@ EXTRA_DIST = \ skribilo/documentation/env.scm \ skribilo/documentation/extension.scm \ skribilo/documentation/manual.scm + +CLEANFILES = + +lintable = $(EXTRA_DIST) +include $(top_srcdir)/guile-lint.am diff --git a/guile-lint.am b/guile-lint.am index f54dc4c..5559e82 100644 --- a/guile-lint.am +++ b/guile-lint.am @@ -16,8 +16,10 @@ BUILT_SOURCES = stamp-lint CLEANFILES += stamp-lint stamp-lint: $(lintable) - -GUILE="$(GUILE)" \ - $(GUILE_LINT) -L $(top_srcdir)/src/guile \ - -L $(top_builddir)/src/guile -k $^ + -GUILE="$(GUILE)" \ + $(GUILE_LINT) -L $(top_srcdir)/src/guile \ + -L $(top_builddir)/src/guile \ + -L $(top_srcdir)/doc/modules \ + -k $^ touch $@ endif -- cgit v1.2.3