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

valholla at users.sourceforge.net valholla at users.sourceforge.net
Tue May 26 17:35:52 CEST 2009


Revision: 5061
          http://gar.svn.sourceforge.net/gar/?rev=5061&view=rev
Author:   valholla
Date:     2009-05-26 15:35:50 +0000 (Tue, 26 May 2009)

Log Message:
-----------
tweak

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

Modified: csw/mgar/pkg/sudo/trunk/Makefile
===================================================================
--- csw/mgar/pkg/sudo/trunk/Makefile	2009-05-26 15:22:13 UTC (rev 5060)
+++ csw/mgar/pkg/sudo/trunk/Makefile	2009-05-26 15:35:50 UTC (rev 5061)
@@ -44,16 +44,17 @@
 
 include gar/category.mk
 
-PKGFILES_CSWsudo  = .*$(bindir).*/sudo
 PKGFILES_CSWsudo  = .*$(bindir).*/sudo.minimal
 
 post-install-modulated:
-	@( cd $(DESTDIR)$(bindir) ; gcp sudo sudo.minimal )
+	@( cd $(DESTDIR)$(bindir) ; gmv sudo sudo.minimal )
+	@( cd $(DESTDIR)$(bindir) ; gln -s sudo.minimal sudo )
 	@( cd $(DESTDIR)$(bindir) ; grm -f sudoedit )
-	@( cd $(DESTDIR)$(bindir) ; gcp sudo sudoedit )
+	@( cd $(DESTDIR)$(bindir) ; gcp sudo.minimal sudoedit )
 	@( cd $(DESTDIR)$(sysconfdir) ; gmv sudoers sudoers.CSW )
 	@$(MAKECOOKIE)
 
 post-merge-modulated:
-	@( cd $(PKGROOT)$(bindir);gfind . -name sudo\* -exec gchmod 4755 {} \; )
+	@( cd $(PKGROOT)$(bindir); \
+		gfind . -type f -name sudo\* -exec gchmod 4755 {} \; )
 	@$(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