Revert. Libs installed in /usr/lib (again). Minor tweaks for
[idzebra-moved-to-github.git] / debian / rules
index 160c4f2..f6c3952 100755 (executable)
@@ -45,13 +45,12 @@ clean:
        # Add here commands to clean up after the build process.
        -$(MAKE) -j8 distclean
 ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-       if [! -f config.sub] ; then cp -f /usr/share/misc/config.sub config.sub ; fi
+       if test ! -f config.sub; then cp -f /usr/share/misc/config.sub config.sub ; fi
 endif
 ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-       if [! -f config.guess] ; then cp -f /usr/share/misc/config.guess config.guess ; fi
+       if test ! -f config.guess ; then cp -f /usr/share/misc/config.guess config.guess ; fi
 endif
 
-
        dh_clean 
 
 install: build
@@ -94,7 +93,7 @@ binary-arch: build install
 #      dh_python
        dh_makeshlibs -V 'libidzebra-2.0 (>= 2.0.0)' -X mod-
        dh_installdeb
-       dh_shlibdeps -l debian/libidzebra-2.0/usr/lib
+       dh_shlibdeps -L libidzebra-2.0 -l debian/libidzebra-2.0/usr/lib
        dh_gencontrol
        dh_md5sums
        dh_builddeb