From: Frank Mori Hess Date: Tue, 31 Jul 2007 13:53:08 +0000 (+0000) Subject: Don't bother running scripts on .mod.c files. X-Git-Tag: r0_7_74~19 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5e24214998563bb4ba3c2984dcec511049595c44;p=comedi.git Don't bother running scripts on .mod.c files. --- diff --git a/Makefile.am b/Makefile.am index a227b51d..f2a0567d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -71,13 +71,16 @@ dev: done; Documentation/comedi/drivers.txt Documentation/comedi/devices.txt: - (for each in comedi/drivers/*.c;do scripts/dump_doc $$each;done >Documentation/comedi/drivers.txt) - scripts/doc_devlist Documentation/comedi/drivers.txt | sort >Documentation/comedi/devices.txt + (for each in `find $(srcdir)/comedi/drivers -name "*\.c" | $(GREP) -v mod\.c`;do $(srcdir)/scripts/dump_doc $$each;\ + done >$(builddir)/Documentation/comedi/drivers.txt) + $(srcdir)/scripts/doc_devlist $(builddir)/Documentation/comedi/drivers.txt | sort >\ + $(builddir)/Documentation/comedi/devices.txt moo: - (cd comedi/drivers;for each in *.c;do ../../scripts/check_driver $$each;done >../../drivers.check) - (grep '^.:' drivers.check >drivers.summary) - + (for each in `find $(srcdir)/comedi/drivers -name "*\.c" | $(GREP) -v mod\.c`;\ + do $(srcdir)/scripts/check_driver $$each;done >$(builddir)/drivers.check) + ($(GREP) '^.:' $(builddir)/drivers.check >$(builddir)/drivers.summary) + DISTCLEANFILES = modtool install-data-hook: