From 8ddd00c7439a4380a6f21ddd07fcf68dc91cecf5 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Sun, 13 Jul 2008 17:44:01 -0700 Subject: [PATCH] Undo the move of up.pod in clean to not FTBFS on the second build Undo the move of up.pod to afs-up.pod in debian/rules clean rather than just deleting the file and causing the second build to fail. Thanks, Dominic Hargreaves. Closes: #490752 --- debian/changelog | 3 +++ debian/rules | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index a88412582..721ac9db5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,8 @@ openafs (1.4.7.dfsg1-4) UNRELEASED; urgency=low + * Undo the move of up.pod to afs-up.pod in debian/rules clean rather + than just deleting the file and causing the second build to fail. + Thanks, Dominic Hargreaves. (Closes: #490752) * Don't use UCONTEXT on hppa; its glibc doesn't provide those functions. It's possible that OpenAFS isn't working properly on hppa these days, but as yet there have been no reports. diff --git a/debian/rules b/debian/rules index 1ce59c97d..72af28701 100755 --- a/debian/rules +++ b/debian/rules @@ -118,11 +118,12 @@ clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp install-stamp + [ ! -f doc/man-pages/pod1/afs-up.pod ] \ + || mv doc/man-pages/pod1/afs-up.pod doc/man-pages/pod1/up.pod [ ! -f Makefile ] || $(MAKE) distclean dh_clean aclocal.m4 configure configure-libafs doc/man-pages/man1/*.1 \ doc/man-pages/man5/*.5 doc/man-pages/man8/*.8 \ - src/kauth/ka-forwarder src/packaging/RedHat/openafs.spec \ - doc/man-pages/pod1/afs-up.pod + src/kauth/ka-forwarder src/packaging/RedHat/openafs.spec install: install-stamp install-stamp: DH_OPTIONS= -- 2.39.5