From 4edb6bfbeafe58734c277fa8b889a06246021410 Mon Sep 17 00:00:00 2001 From: steve Date: Thu, 30 Nov 2006 10:28:26 +0000 Subject: [PATCH] 2006-11-30 10:28:26 by steve Fixup permissions of hooks prior to install/release --- Makefile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 123e936..74a8f4c 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ # -- # http://www.steve.org.uk/ # -# $Id: Makefile,v 1.85 2006-11-29 11:52:55 steve Exp $ +# $Id: Makefile,v 1.86 2006-11-30 10:28:26 steve Exp $ # @@ -78,6 +78,13 @@ diff: cvs diff --unified 2>/dev/null +# +# Make sure our hooks are executable +# +fixup-perms: + for i in hooks/*/*-*; do chmod 755 $$i; done + + # # Install files to /etc/ # @@ -150,7 +157,7 @@ install-manpages: manpages # # Install everything. # -install: install-bin install-etc install-hooks install-manpages +install: fixup-perms install-bin install-etc install-hooks install-manpages # @@ -164,7 +171,7 @@ manpages: # # Make a new release tarball, and make a GPG signature. # -release: test update-version update-modules clean changelog +release: test fixup-perms update-version update-modules clean changelog rm -rf $(DIST_PREFIX)/$(BASE)-$(VERSION) rm -f $(DIST_PREFIX)/$(BASE)-$(VERSION).tar.gz cp -R . $(DIST_PREFIX)/$(BASE)-$(VERSION)