X-Git-Url: http://git.maemo.org/git/?p=presencevnc;a=blobdiff_plain;f=debian%2Frules;h=6248301bb896a33caa9eb94dc887ac08b6c9c748;hp=25b70afbb2528f08005e8259ad8ca974389b4705;hb=2a901ede69df3069e2ec8bbaee0a677605e6aa2c;hpb=7374f77159feb93ee60dd50ccd0b2f37e34d3e4f diff --git a/debian/rules b/debian/rules index 25b70af..6248301 100755 --- a/debian/rules +++ b/debian/rules @@ -11,14 +11,13 @@ SOURCEDIR=./ BUILDDIR=debian/build/ ICONDIR=usr/share/icons/hicolor/ BINDIR=usr/bin/ -RESDIR=opt/presencevnc/ DESKTOP_DIR=usr/share/applications/hildon/ build: dh_testdir install -d ${BUILDDIR} ifdef buildlibs - cd libvnc && ./configure && make + cd libvnc && ./configure && cd libvncclient && make endif qmake-qt4 -after "DESTDIR=debian/build" $(MAKE) @@ -46,7 +45,7 @@ binary-arch: build install dh_compress dh_fixperms dh_installdeb - LD_LIBRARY_PATH=debian/presencevnc/${RESDIR} dh_shlibdeps -l debian/presencevnc/${RESDIR} + dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb @@ -57,11 +56,8 @@ install: build dh_testdir dh_testroot dh_clean -k - dh_installdirs ${BINDIR} $(RESDIR) - dh_install libvnc/libvncclient/.libs/libvncclient.so.0.0.0 ${RESDIR} - mv debian/presencevnc/${RESDIR}libvncclient.so.0.0.0 debian/presencevnc/${RESDIR}libvncclient.so.0 - dh_install ${BUILDDIR}presencevnc-bin ${RESDIR} - dh_install presencevnc ${BINDIR} + dh_installdirs ${BINDIR} + dh_install ${BUILDDIR}presencevnc ${BINDIR} dh_install presencevnc.desktop $(DESKTOP_DIR) dh_install icons/48x48/presencevnc.png $(ICONDIR)48x48/apps dh_install icons/64x64/presencevnc.png $(ICONDIR)64x64/apps