Re-add call to depmod if it's a normal install
authorDavid Schleef <ds@schleef.org>
Thu, 7 Apr 2005 20:15:19 +0000 (20:15 +0000)
committerDavid Schleef <ds@schleef.org>
Thu, 7 Apr 2005 20:15:19 +0000 (20:15 +0000)
Makefile.am

index 87a9ed548f62791d71c8d86d2b99b8205e235ee9..d32de637f4a7bb918601ec1f90871c898caf0222 100644 (file)
@@ -87,3 +87,10 @@ moo:
        
 DISTCLEANFILES = modtool
 
+install-data-hook:
+       if test x"$(DESTDIR)" = x ; then \
+         if test x"$(prefix)" = x/ ; then \
+           $(DEPMOD) -ae $(LINUX_KERNELRELEASE) ; \
+         fi \
+       fi
+