From 8e7aee616e2c0a7e718dbac9bd85c798f093d6f3 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Mon, 28 Jan 2008 20:04:24 +0000 Subject: [PATCH] Allow generation of devices.txt and drivers.txt to work when builddir != srcdir. --- Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index d50573d5..9c7d77ee 100644 --- a/Makefile.am +++ b/Makefile.am @@ -42,11 +42,11 @@ COMEDI_DRIVER_FILES := $(shell find $(srcdir)/comedi/drivers -name '*\.c' | grep Documentation/comedi/drivers.txt: $(COMEDI_DRIVER_FILES) for each in $(COMEDI_DRIVER_FILES); do $(srcdir)/scripts/dump_doc $$each;\ - done >Documentation/comedi/drivers.txt + done >$(srcdir)/Documentation/comedi/drivers.txt Documentation/comedi/devices.txt: Documentation/comedi/drivers.txt - $(srcdir)/scripts/doc_devlist Documentation/comedi/drivers.txt | sort >\ - Documentation/comedi/devices.txt + $(srcdir)/scripts/doc_devlist $(srcdir)/Documentation/comedi/drivers.txt | sort >\ + $(srcdir)/Documentation/comedi/devices.txt drivers.check: $(COMEDI_DRIVER_FILES) for each in $(COMEDI_DRIVER_FILES);\ -- 2.26.2