[csw-devel] SF.net SVN: gar:[11735] csw/mgar/pkg/git/trunk/Makefile

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Sat Nov 27 15:34:17 CET 2010


Revision: 11735
          http://gar.svn.sourceforge.net/gar/?rev=11735&view=rev
Author:   bdwalton
Date:     2010-11-27 14:34:17 +0000 (Sat, 27 Nov 2010)

Log Message:
-----------
git: install the post-receive-email contrib/hooks file

Modified Paths:
--------------
    csw/mgar/pkg/git/trunk/Makefile

Modified: csw/mgar/pkg/git/trunk/Makefile
===================================================================
--- csw/mgar/pkg/git/trunk/Makefile	2010-11-27 14:28:02 UTC (rev 11734)
+++ csw/mgar/pkg/git/trunk/Makefile	2010-11-27 14:34:17 UTC (rev 11735)
@@ -181,6 +181,7 @@
 	@( cd $(WORKSRC); $(MAKE) -C contrib/emacs )
 
 post-install-modulated: GD=$(DESTDIR)/$(datadir)/doc/$(GARNAME)
+post-install-modulated: CONTHOOKS=$(GD)/contrib/hooks
 post-install-modulated: BD=$(DESTDIR)/$(bashconfdir)/bash_completion.d
 post-install-modulated: ID=$(DESTDIR)/$(includedir)/git
 post-install-modulated: LD=$(DESTDIR)/$(libdir_install)/git
@@ -211,4 +212,7 @@
 		ginstall -c -m 0755 -d $(BD); \
 		cp contrib/completion/* \
 			$(BD)/ )
+	@( cd $(WORKSRC)/contrib/hooks; \
+		ginstall -c -d -m 0755 $(CONTHOOKS); \
+		ginstall -c -m 0644 post-receive-email $(CONTHOOKS) )
 	@$(MAKECOOKIE)


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list