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

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Sun Sep 13 01:33:23 CEST 2009


Revision: 6288
          http://gar.svn.sourceforge.net/gar/?rev=6288&view=rev
Author:   bdwalton
Date:     2009-09-12 23:33:23 +0000 (Sat, 12 Sep 2009)

Log Message:
-----------
git: tweak bash completion installation

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

Modified: csw/mgar/pkg/git/trunk/Makefile
===================================================================
--- csw/mgar/pkg/git/trunk/Makefile	2009-09-12 23:25:55 UTC (rev 6287)
+++ csw/mgar/pkg/git/trunk/Makefile	2009-09-12 23:33:23 UTC (rev 6288)
@@ -141,6 +141,7 @@
 	@( cd $(WORKSRC)/Documentation; $(MAKE) )
 
 post-install-modulated: GD=$(DESTDIR)/$(datadir)/doc/$(GARNAME)
+post-install-modulated: BD=$(DESTDIR)/$(bashconfdir)/bash_completion.d
 post-install-modulated:
 	@echo Cleaning up perl stuff
 	@rm -rf $(DESTDIR)/$(libdir)/perl5/site_perl/5*
@@ -158,7 +159,7 @@
 		cp -R Documentation/howto Documentation/technical $(GD)/; )
 	@echo Installing Bash Completion files
 	@( cd $(WORKSRC); \
-		mkdir -p $(DESTDIR)/$(bashconfdir); \
+		ginstall -c -m 0755 -d $(BD); \
 		cp contrib/completion/* \
-			$(DESTDIR)/$(bashconfdir)/bash_completion.d/ )
+			$(BD)/ )
 	@$(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