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

chninkel at users.sourceforge.net chninkel at users.sourceforge.net
Sun Sep 15 11:38:20 CEST 2013


Revision: 21939
          http://gar.svn.sourceforge.net/gar/?rev=21939&view=rev
Author:   chninkel
Date:     2013-09-15 09:38:20 +0000 (Sun, 15 Sep 2013)
Log Message:
-----------
svr4pkg/trunk: added symlink to native tools names

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

Modified: csw/mgar/pkg/svr4pkg/trunk/Makefile
===================================================================
--- csw/mgar/pkg/svr4pkg/trunk/Makefile	2013-09-15 09:37:44 UTC (rev 21938)
+++ csw/mgar/pkg/svr4pkg/trunk/Makefile	2013-09-15 09:38:20 UTC (rev 21939)
@@ -24,10 +24,15 @@
 
 include gar/category.mk
 
+NATIVE_TOOLS = pkgadd pkgrm pkginfo pkgchk pkgparam
+
 install-custom:
 	@echo " ==> Installing $(NAME)"
 	ginstall -d $(DESTDIR)$(bindir)
 	ginstall $(WORKSRC)/svr4pkg $(DESTDIR)$(bindir)
+	cd "$(DESTDIR)$(bindir)" && for TOOL in $(NATIVE_TOOLS); do \
+	    gln -sf svr4pkg "$$TOOL"; \
+	done
 	ginstall -d $(DESTDIR)$(docdir)$(NAME)
 	ginstall $(WORKSRC)/README.md $(DESTDIR)$(docdir)$(NAME)
 	@$(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