From 92857867160d3de672d1a36276e0060e8b8a5b05 Mon Sep 17 00:00:00 2001
From: Roland McGrath <roland@gnu.org>
Date: Thu, 29 Apr 1999 16:20:08 +0000
Subject: 1999-04-28  Roland McGrath  <roland@baalperazim.frob.com>

	* rules (binary-arch): Add etc, etc/login subdirs to chmod cmd.
	Use $(addprefix) fn to avoid repetition.
---
 debian/rules | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index be9677ce..5480046e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -97,7 +97,10 @@ binary-arch: build
 	-strip --strip-all	debian/tmp/hurd/*
 	-strip --strip-all	debian/tmp/libexec/*
 	chmod			0644 debian/tmp/lib/lib*.a
-	chmod			0755 debian/tmp/include debian/tmp/include/hurd debian/tmp/lib debian/tmp/hurd debian/tmp/bin debian/tmp/sbin debian/tmp/dev debian/tmp/libexec debian/tmp/etc debian/tmp/etc/login
+	chmod			0755 $(addprefix debian/tmp/,		\
+						 include include/hurd	\
+						 lib hurd bin sbin	\
+						 dev libexec etc etc/login)
 
 # now distribute the files
 # first the source package
-- 
cgit v1.2.3