[csw-devel] SF.net SVN: gar:[2544] csw/mgar/gar

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Thu Dec 11 22:01:39 CET 2008


Revision: 2544
          http://gar.svn.sourceforge.net/gar/?rev=2544&view=rev
Author:   dmichelsen
Date:     2008-12-11 21:01:38 +0000 (Thu, 11 Dec 2008)

Log Message:
-----------
mGAR v1/v2: Adjust pkglist to be useful

Modified Paths:
--------------
    csw/mgar/gar/v1/gar.pkg.mk
    csw/mgar/gar/v2/gar.pkg.mk

Modified: csw/mgar/gar/v1/gar.pkg.mk
===================================================================
--- csw/mgar/gar/v1/gar.pkg.mk	2008-12-11 20:25:26 UTC (rev 2543)
+++ csw/mgar/gar/v1/gar.pkg.mk	2008-12-11 21:01:38 UTC (rev 2544)
@@ -193,11 +193,10 @@
 endef
 
 define _pkglist_one
-$(shell /usr/bin/echo "$(patsubst $(realpath $(shell pwd)/$(GARDIR))/%,%,$(realpath .))\t$(call _pkglist_catalogname,$(1))\t$(call _pkglist_pkgname,$(1))")
+$(shell /usr/bin/echo "$(shell pwd)\t$(call _pkglist_catalogname,$(1))\t$(call _pkglist_pkgname,$(1))")
 endef
 
 pkglist:
-	@echo "G: $(GARDIR) - $(shell pwd) - $(realpath $(shell pwd)/$(GARDIR)) - $(realpath .)"
 	@$(foreach SPEC,$(SPKG_SPECS),echo "$(call _pkglist_one,$(SPEC))";)
 
 srcpack:

Modified: csw/mgar/gar/v2/gar.pkg.mk
===================================================================
--- csw/mgar/gar/v2/gar.pkg.mk	2008-12-11 20:25:26 UTC (rev 2543)
+++ csw/mgar/gar/v2/gar.pkg.mk	2008-12-11 21:01:38 UTC (rev 2544)
@@ -285,9 +285,8 @@
 endef
 
 define _pkglist_one
-$(shell /usr/bin/echo "$(patsubst $(realpath $(shell pwd)/$(GARDIR))/%,%,$(realpath .))\t$(call _pkglist_catalogname,$(1))\t$(call _pkglist_pkgname,$(1))")
+$(shell /usr/bin/echo "$(shell pwd)\t$(call _pkglist_catalogname,$(1))\t$(call _pkglist_pkgname,$(1))")
 endef
 
 pkglist:
-	@echo "G: $(GARDIR) - $(shell pwd) - $(realpath $(shell pwd)/$(GARDIR)) - $(realpath .)"
 	@$(foreach SPEC,$(SPKG_SPECS),echo "$(call _pkglist_one,$(SPEC))";)


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