X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=debian%2Frules;fp=debian%2Frules;h=17288b552a9aa0d10d5e5aa5f57524f809fb0899;hb=ce304317985152be5ce0acf2138f8d2587315c53;hp=0000000000000000000000000000000000000000;hpb=8ad736f3542b97f752c0a19c1b9f1e8fc927a904;p=videolink.git diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..17288b5 --- /dev/null +++ b/debian/rules @@ -0,0 +1,33 @@ +#!/usr/bin/make -f + +build : + make prefix=/usr + +binary : binary-arch binary-indep + +binary-arch : build + dh_testroot + make prefix=debian/webdvd/usr install + dh_strip + dh_shlibdeps + @echo "Despite the warnings from dh_shlibdeps, this should complete dependencies:" + echo "mozilla:Depends=mozilla-browser (= $$(dpkg-query -W --showformat='$${version}' mozilla-browser))" >> debian/webdvd.substvars + mkdir -p -m755 debian/webdvd/usr/share/doc/webdvd + cp COPYING debian/webdvd/usr/share/doc/webdvd/copyright + dh_installchangelogs + dh_installdocs + dh_compress + dh_installdeb + dh_gencontrol + dh_builddeb + +binary-indep : + +clean : + make clean + +svn-build : + svn-buildpackage \ + --svn-builder='pdebuild-dist $(if $(DIST),$(DIST),sid)' + +.PHONY : build binary binary-arch binary-dep clean svn-build