From f025db32dd86ae4795632566713c2b4c16b1e480 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Sun, 17 Apr 2005 07:27:20 +0000 Subject: [PATCH] * Exclude .svn directories from the modules source tarball. --- debian/changelog | 1 + debian/rules | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index dc6560c4a..97ae6791b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,7 @@ openafs (1.3.81-4) unstable; urgency=low Jonas Smedegaard. (Closes: #206403) * Add a check to afs-newcell to ensure the local hostname doesn't resolve to 127.0.0.1. (Closes: #163751) + * Exclude .svn directories from the modules source tarball. -- Russ Allbery Sun, 17 Apr 2005 00:00:27 -0700 diff --git a/debian/rules b/debian/rules index 91fb1711f..114fa6b18 100755 --- a/debian/rules +++ b/debian/rules @@ -202,11 +202,12 @@ binary-source: install -d debian/$(srcpkg) # Clean up the sources install -d debian/$(srcpkg)/usr/src/modules/$(package) - find . \( -name \*.o -o -path ./debian/$(srcpkg) -o -path \*/CVS -o -path ./src/WINNT \ + find . \( -name \*.o -o -path ./debian/$(srcpkg) -o -path \*/CVS \ + -o -path \*/.svn -o -path ./src/WINNT \ -o -path ./obj -o -path ./$(SYS_NAME) \ - -o \( -path ./debian/\* -type d \) \ - -o -path ./debian/\*debhelper \) -prune -o -print | \ - cpio -admp debian/$(srcpkg)/usr/src/modules/$(package) + -o \( -path ./debian/\* -type d \) \ + -o -path ./debian/\*debhelper \) -prune -o -print | \ + cpio -admp debian/$(srcpkg)/usr/src/modules/$(package) ( cd debian/$(srcpkg)/usr/src/modules/$(package)&& \ $(MAKE) -f debian/rules clean && \ rm -rf src/libafs/rx src/libafs/afs src/libafs/afsint; \ -- 2.39.5