about summary refs log tree commit diff
path: root/guile-lint.am
diff options
context:
space:
mode:
Diffstat (limited to 'guile-lint.am')
-rw-r--r--guile-lint.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/guile-lint.am b/guile-lint.am
index 7edf72d..f54dc4c 100644
--- a/guile-lint.am
+++ b/guile-lint.am
@@ -12,8 +12,12 @@ if HAVE_GUILE_LINT
 # Note: We re-export `$GUILE' to make sure Guile-Lint uses the same
 # Guile as we do, e.g., on NixOS.
 
-all-local: $(dist_module_DATA)
+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 $^
+	touch $@
 endif