From: Frank Mori Hess Date: Mon, 28 Jan 2008 20:04:24 +0000 (+0000) Subject: Allow generation of devices.txt and drivers.txt to work X-Git-Tag: v0_7_76~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8e7aee616e2c0a7e718dbac9bd85c798f093d6f3;p=comedi.git Allow generation of devices.txt and drivers.txt to work when builddir != srcdir. --- 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);\