X-Git-Url: https://git.distorted.org.uk/~mdw/rocl/blobdiff_plain/8d722cca1e280296d78a1eba829795b0a34e1915..924f49bf97e5b376c44adfdb97ac7f37091a868f:/debian/rules diff --git a/debian/rules b/debian/rules index 8c1bc68..b650542 100755 --- a/debian/rules +++ b/debian/rules @@ -1,44 +1,9 @@ #! /usr/bin/make -f -export DH_COMPAT = 4 +%:; dh $@ -Bdebian/build --parallel -build: - rm -f build - make INCLUDES=-I/usr/include/tcl8.3 prefix=/usr - touch build +override_dh_auto_build: + make prefix=/usr -clean: - dh_clean - make clean - rm -f build - -install: build - dh_clean +override_dh_auto_install: make install prefix=/usr INST=`pwd`/debian/rocl - -binary-arch: install - dh_testdir -a - dh_testroot -a - dh_installdocs -a README - dh_compress -a - dh_strip -a - dh_shlibdeps -a - dh_gencontrol -a - dh_fixperms -a - dh_installdeb -a - dh_md5sums -a - dh_builddeb -a - -binary-indep: - -binary: binary-indep binary-arch - -source: - rm -rf =inst= - mkdir -p =inst=/=deb= - make dist INST==inst=/ - cd =inst=/=deb=; tar xvfz ../*.tar.gz - d=`pwd`; cd ..; dpkg-source -i -b $$d/=inst=/=deb=/* - rm -rf =inst= - -.PHONY: binary binary-arch binary-indep clean install source