From ff6f44e80f3c81a70372cf1a90ba42434def66de Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Fri, 27 Jun 2008 22:46:18 -0700 Subject: [PATCH] Rename up to afs-up in debian/rules, not Git Don't use Git to handle the man page renaming for up to afs-up since the rename can't be represented properly in the Debian diff. --- debian/rules | 7 ++++++- doc/man-pages/pod1/{afs-up.pod => up.pod} | 0 2 files changed, 6 insertions(+), 1 deletion(-) rename doc/man-pages/pod1/{afs-up.pod => up.pod} (100%) diff --git a/debian/rules b/debian/rules index 31324955a..95cebd656 100755 --- a/debian/rules +++ b/debian/rules @@ -81,10 +81,14 @@ get-orig-source: rm -r openafs_$(DEBVERS).orig gzip -9 openafs_$(DEBVERS).orig.tar +# Handle the renaming of the up man page to afs-up here since the man pages +# are generated from POD source by regen.sh. configure: configure-stamp configure-stamp: @if test x"$(SYS_NAME)" = x"UNKNOWN" ; then exit 1 ; fi dh_testdir + mv doc/man-pages/pod1/up.pod doc/man-pages/pod1/afs-up.pod + rm -f doc/man-pages/man1/up.1 sh regen.sh afslogsdir=/var/log/openafs afslocaldir=/var/lib/openafs/local \ sh configure \ @@ -116,7 +120,8 @@ clean: [ ! -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 + src/kauth/ka-forwarder src/packaging/RedHat/openafs.spec \ + doc/man-pages/pod1/afs-up.pod install: install-stamp install-stamp: DH_OPTIONS= diff --git a/doc/man-pages/pod1/afs-up.pod b/doc/man-pages/pod1/up.pod similarity index 100% rename from doc/man-pages/pod1/afs-up.pod rename to doc/man-pages/pod1/up.pod -- 2.39.5