From: Jeremy Laine Date: Sat, 6 Sep 2003 20:26:53 +0000 (+0000) Subject: make use of the Common Debian Build System (CDBS) X-Git-Tag: procmail~59 X-Git-Url: http://git.polytechnique.org/?p=old-projects.git;a=commitdiff_plain;h=2568e3de4bb29052a71e391cd2ae7ac7dfc65b92 make use of the Common Debian Build System (CDBS) --- diff --git a/deptrack/debian/changelog b/deptrack/debian/changelog index 657d83d..27a4df7 100644 --- a/deptrack/debian/changelog +++ b/deptrack/debian/changelog @@ -1,3 +1,10 @@ +deptrack (0.3.0-4) unstable; urgency=low + + * debian/rules: + - switched to CDBS + + -- Jeremy Laine Sat, 6 Sep 2003 22:23:13 +0200 + deptrack (0.3.0-3) unstable; urgency=low * Added Perl library dependencies. diff --git a/deptrack/debian/control b/deptrack/debian/control index b5ac34d..be265e4 100644 --- a/deptrack/debian/control +++ b/deptrack/debian/control @@ -2,7 +2,7 @@ Source: deptrack Section: net Priority: optional Maintainer: Jeremy Laine -Build-Depends-Indep: debhelper (>> 4.0.0) +Build-Depends-Indep: cdbs, debhelper (>> 4.0.0) Standards-Version: 3.5.8 Package: deptrack diff --git a/deptrack/debian/rules b/deptrack/debian/rules index 8f8f00e..f738c4d 100755 --- a/deptrack/debian/rules +++ b/deptrack/debian/rules @@ -1,66 +1,3 @@ #!/usr/bin/make -f -# Sample debian/rules that uses debhelper. -# GNU copyright 1997 to 1999 by Joey Hess. - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -# This is the debhelper compatibility version to use. -export DH_COMPAT=3 - -config.status: configure - dh_testdir - # Add here commands to configure the package. - ./configure --prefix=/usr \ - --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info - - -build: build-stamp - -build-stamp: config.status - dh_testdir - - # Add here commands to compile the package. - $(MAKE) - #/usr/bin/docbook-to-man debian/deptrack.sgml > deptrack.1 - - touch build-stamp - -clean: - dh_testdir - dh_testroot - rm -f build-stamp - - # Add here commands to clean up after the build process. - -$(MAKE) distclean - - dh_clean - -install: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - - # Add here commands to install the package into debian/deptrack - $(MAKE) install prefix=$(CURDIR)/debian/deptrack/usr - - -# Build architecture-independent files here. -binary-indep: build install - dh_testdir - dh_testroot - dh_installdocs - dh_installexamples - dh_installman - dh_installchangelogs ChangeLog - dh_compress - dh_fixperms - dh_installdeb - dh_perl - dh_gencontrol - dh_md5sums - dh_builddeb - -binary: binary-indep -.PHONY: build clean binary-indep binary install +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk