From: Marc Cromme Date: Fri, 22 Aug 2003 14:23:36 +0000 (+0000) Subject: rules changed to obey version 4 compatability X-Git-Tag: tclrobot.0.2.0 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=4355628830cd0f9e27c059d20254d8e1c30896eb;p=tclrobot.git rules changed to obey version 4 compatability --- diff --git a/debian/control b/debian/control index 19c33d2..821c272 100644 --- a/debian/control +++ b/debian/control @@ -6,7 +6,7 @@ Build-Depends: debhelper (>> 4.0.0), autoconf (>> 2.50), tcl8.3-dev|tcl8.4-dev Standards-Version: 3.5.8 Package: tclrobot -Section: misc +Section: web Architecture: any Depends: ${shlibs:Depends} Description: web crawling robot diff --git a/debian/rules b/debian/rules index 6924226..9e34ee6 100755 --- a/debian/rules +++ b/debian/rules @@ -5,6 +5,14 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +# Force compat level four +export DH_COMPAT=4 + +# Ignore CVS information +export DH_ALWAYS_EXCLUDE=CVS + +# This has to be exported to make some magic below work. +#export DH_OPTIONS @@ -63,8 +71,7 @@ install: build # Add here commands to install the package into debian/tmp $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp - #cp tclrobot.so debian/tmp/usr/lib/libtclrobot.so - + dh_install # Build architecture-independent files here. binary-indep: build install @@ -77,7 +84,7 @@ binary-arch: build install dh_installchangelogs dh_installdocs # dh_installexamples - dh_install +# dh_install maybe wrong place here?? moved to # dh_installmenu # dh_installdebconf # dh_installlogrotate diff --git a/debian/tclrobot.install b/debian/tclrobot.install index c9edd5b..b59fc81 100644 --- a/debian/tclrobot.install +++ b/debian/tclrobot.install @@ -1 +1 @@ -debian/tmp/usr/bin/tclrobot debian/tclrobot/usr/bin/tclrobot +debian/tmp/usr/bin/tclrobot