From: Russ Allbery Date: Fri, 13 Feb 2009 19:40:41 +0000 (-0800) Subject: Don't use make install for the module build X-Git-Tag: debian/1.4.8.dfsg1-1~5 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=c337988baaec063f2ab1ecd6d56102b238319fe2;p=packages%2Fo%2Fopenafs.git Don't use make install for the module build 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. --- diff --git a/debian/module/rules b/debian/module/rules index 941e55c1d..53a51c476 100755 --- a/debian/module/rules +++ b/debian/module/rules @@ -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