Compatibility with 2.6 Linux kernel.
authorshort <>
Sun, 12 Oct 2003 19:22:51 +0000 (19:22 +0000)
committershort <>
Sun, 12 Oct 2003 19:22:51 +0000 (19:22 +0000)
debian/lufs.files
kernel/Linux/2.5/Makefile.am

index d2d890a..75e88e6 100644 (file)
@@ -1,5 +1,6 @@
 /usr/share/lufs/2.*/*
 /usr/share/lufs/modbin/*/*.o
+/usr/share/lufs/modbin/*/*.ko
 /usr/share/lufs/prepmod
 /etc/lufsd.conf
 /usr/bin/lufsd
index d6a948b..d190c62 100644 (file)
@@ -1,3 +1,7 @@
+ ifdef KERNELRELEASE
+ include $(SUBDIRS)/makefile
+ else
+
 basedir=$(datadir)/lufs
 src25dir=$(basedir)/2.5
 
@@ -11,7 +15,9 @@ src25_DATA= \
                makefile
 
 install-data-hook:
-       rm -f $(src25dir)/Makefile
-       mv -f $(src25dir)/makefile $(src25dir)/Makefile
+       rm -f $(DESTDIR)$(src25dir)/Makefile
+       mv -f $(DESTDIR)$(src25dir)/makefile $(DESTDIR)$(src25dir)/Makefile
 
 EXTRA_DIST=$(src25) makefile.in
+
+ endif