X-Git-Url: https://git.decadent.org.uk/gitweb/?p=videolink.git;a=blobdiff_plain;f=debian%2Frules;h=39fc73595a433de9288a4107b8f79627e3b69c8a;hp=ff70afd77f0316fe468af1553a9af51fe3e27506;hb=HEAD;hpb=6bc4ef41d90923d964f58288e2a76bda7016a4a3 diff --git a/debian/rules b/debian/rules index ff70afd..39fc735 100755 --- a/debian/rules +++ b/debian/rules @@ -1,26 +1,16 @@ #!/usr/bin/make -f build : - make prefix=/usr + $(MAKE) prefix=/usr binary : binary-arch binary-indep binary-arch : build dh_testroot - make DESTDIR=debian/videolink prefix=/usr install + $(MAKE) DESTDIR=debian/videolink prefix=/usr install dh_strip dh_shlibdeps - # VideoLink relies on some un-frozen APIs which may break - # between releases and even with backported security patches. - # The libxul packages have sonames and a shlibs file so we - # should get correct dependencies automatically, but this is - # not the case for mozilla-browser. - if dpkg-query -W libxul-dev >&/dev/null; then \ - echo "mozilla:Depends=" >> debian/videolink.substvars ; \ - else \ - MOZ_VERSION=$$(dpkg-query -W --showformat='$${version}' mozilla-browser | sed 's/+b[0-9]*$$//') \ - && echo "mozilla:Depends=mozilla-browser (>= $$MOZ_VERSION), mozilla-browser (<< $${MOZ_VERSION}+b99)" >> debian/videolink.substvars ; \ - fi + dh_xulrunner mkdir -p -m755 debian/videolink/usr/share/doc/videolink install -m644 debian/copyright debian/videolink/usr/share/doc/videolink/copyright mv debian/videolink/usr/share/doc/videolink/ChangeLog.gz \ @@ -30,12 +20,13 @@ binary-arch : build dh_fixperms dh_installdeb dh_gencontrol + dh_md5sums dh_builddeb binary-indep : clean : - make clean + $(MAKE) clean dh_clean .PHONY : build binary binary-arch binary-dep clean svn-build