diff --git a/debian/fixlinks b/debian/fixlinks deleted file mode 100644 index f265d3d..0000000 --- a/debian/fixlinks +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh -e -# Clean up after cvs's dreadful symlink handling, by making all the symlinks -# this package needs. - -# These dirs may not exist if directory pruning is turned on. -install -d lib/to-rpm/tgz lib/to-rpm/slp - -ln -sf ../rpm/rules lib/to-deb/tgz/rules -ln -sf ../rpm/conffiles lib/to-deb/tgz/conffiles -ln -sf ../rpm/conffiles lib/to-deb/slp/conffiles -ln -sf ../rpm/rules lib/to-deb/slp/rules -ln -sf ../deb/spec lib/to-rpm/tgz/spec -ln -sf ../deb/spec lib/to-rpm/slp/spec -ln -sf debian/changelog CHANGES diff --git a/debian/rules b/debian/rules index c69c473..8ca5e26 100755 --- a/debian/rules +++ b/debian/rules @@ -4,24 +4,24 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -build: link-stamp build-stamp +build: build-stamp build-stamp: dh_testdir $(MAKE) version touch build-stamp -clean: link-stamp +clean: dh_testdir dh_testroot rm -f build-stamp dh_clean # Build architecture-dependent files here. -binary-arch: link-stamp build +binary-arch: build # We have nothing to do by default. # Build architecture-independent files here. -binary-indep: link-stamp build +binary-indep: build dh_testdir dh_testroot dh_clean @@ -38,11 +38,6 @@ binary-indep: link-stamp build dh_md5sums dh_builddeb -# Fix links when checking out of cvs by calling this target. -link-stamp: - sh -e debian/fixlinks - touch link-stamp - VERSION=$(shell expr "`dpkg-parsechangelog 2>/dev/null |grep Version:`" : '.*Version: \(.*\)') # Update the web page. Not intended for use by anyone except the author.