]> oss.titaniummirror.com Git - cp210x.git/blobdiff - debian.in/rules
Top level make is now working, and dpkg-buildpackage works on the result.
[cp210x.git] / debian.in / rules
index e8b27ae90a26f3a188c5f9691fe5bd3770fd403e..57b40bd603b57204b42e7e500ba692839dcfe829 100755 (executable)
@@ -35,7 +35,9 @@ install-stamp: checkroot build-stamp
        $(checkdir)
        rm -rf debian/tmp
        $(install_dir) $(inst_dir)
-       cp -a . $(inst_dir)
+       mv debian ../
+       cp -a . ../$(inst_dir)
+       mv ../debian .
        $(install_dir) debian/tmp/etc/modprobe.d
        echo "blacklist cp2101" > debian/tmp/etc/modprobe.d/$(package)
        touch $@
@@ -60,8 +62,6 @@ binary-arch: checkroot build install
        find debian/tmp/usr/share/doc/$(package)/ -type f ! -name copyright | \
                xargs gzip -9
        : # Finish it all up
-       find debian/tmp -type f | xargs file | grep ELF | cut -d: -f 1 | \
-               xargs dpkg-shlibdeps
        dpkg-gencontrol -isp $(CONFLICTS)
        chown -R root:root debian/tmp
        chmod -R go=rX  debian/tmp