]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Don't use make install for the module build
authorRuss Allbery <rra@debian.org>
Fri, 13 Feb 2009 19:40:41 +0000 (11:40 -0800)
committerRuss Allbery <rra@debian.org>
Fri, 13 Feb 2009 19:40:41 +0000 (11:40 -0800)
make install requires pinstall, which we don't copy over with libafs_tree.
Just copy the built module out of the build directory and simplify life.

debian/module/rules

index 941e55c1d443d9a4ff7261139906f618e3bc4836..53a51c47610a8fb03769cceae77c3e6dda40a9e3 100755 (executable)
@@ -81,13 +81,8 @@ install-stamp: build-stamp
        dh_testdir
        dh_testroot
        dh_clean -k
-       cd src/libafs && make install
        install -d -g root -o root -m 755 $(moduledir)
-       install -g root -o root -m 755 debian/tmp/lib/openafs/*o $(moduledir)/
-       if test -f $(moduledir)/openafs.o \
-               -a ! -f $(moduledir)/openafs.mp.o ; then \
-           ln $(moduledir)/openafs.o $(moduledir)/openafs.mp.o || exit 1 ; \
-       fi
+       install -g root -o root -m 755 src/libafs/MODLOAD-*/*.ko $(moduledir)/
        touch $@
 
 binary: binary-arch binary-indep