Fix modversions, installation, drivers.txt targets.
authorDavid Schleef <ds@schleef.org>
Sat, 1 Dec 2001 05:18:26 +0000 (05:18 +0000)
committerDavid Schleef <ds@schleef.org>
Sat, 1 Dec 2001 05:18:26 +0000 (05:18 +0000)
Makefile
Rules.make

index c7312980532fc97fc17439d76aabd8f0efad4ee1..b936dd7fd72a2b063da2b8faf6ee01574066a48a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -12,6 +12,8 @@ include ./Makefile.modbuild
 
 INSTALLDIR_DEV=$(DESTDIR)/usr/realtime/
 
+install: modules_install
+
 install_dev:
        install -d $(INSTALLDIR_DEV)/include
        install -m 644 include/linux/comedi.h $(INSTALLDIR_DEV)/include
@@ -23,3 +25,8 @@ dev:
        -mknod -m 666 /dev/comedi2 c 98 2
        -mknod -m 666 /dev/comedi3 c 98 3
 
+devices.txt: drivers.txt
+drivers.txt: dummy
+       (for each in comedi/drivers/*.c;do scripts/dump_doc $$each;done >drivers.txt)
+       scripts/doc_devlist drivers.txt >devices.txt
+
index 26004fa7b35cdecfcf2a773f7b33de73a03b02ea..3983da9537564a5cb07a9c975db392a433ba1796 100644 (file)
@@ -211,7 +211,7 @@ multi-used  := $(filter $(list-multi), $(obj-y) $(obj-m))
 multi-objs     := $(foreach m, $(multi-used), $($(basename $(m))-objs))
 active-objs    := $(sort $(multi-objs) $(obj-y) $(obj-m))
 
-ifdef CONFIG_MODVERSIONS
+ifdef never_generate_CONFIG_MODVERSIONS
 ifneq "$(strip $(export-objs))" ""
 
 MODINCL = $(TOPDIR)/include/linux/modules
@@ -273,7 +273,7 @@ $(active-objs): $(TOPDIR)/include/linux/modversions.h
 else
 
 $(TOPDIR)/include/linux/modversions.h:
-       @echo "#include <linux/modsetver.h>" > $@
+#      @echo "#include <linux/modsetver.h>" > $@
 
 endif # CONFIG_MODVERSIONS