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

pfelecan at users.sourceforge.net pfelecan at users.sourceforge.net
Tue Jun 26 09:44:46 CEST 2012


Revision: 18530
          http://gar.svn.sourceforge.net/gar/?rev=18530&view=rev
Author:   pfelecan
Date:     2012-06-26 07:44:46 +0000 (Tue, 26 Jun 2012)
Log Message:
-----------
add support for TeX hash class

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

Modified: csw/mgar/gar/v2/gar.conf.mk
===================================================================
--- csw/mgar/gar/v2/gar.conf.mk	2012-06-26 07:40:28 UTC (rev 18529)
+++ csw/mgar/gar/v2/gar.conf.mk	2012-06-26 07:44:46 UTC (rev 18530)
@@ -145,6 +145,11 @@
 perllib            ?= $(libdir)/perl
 perlcswlib         ?= $(perllib)/csw
 perlpackroot       ?= $(perlcswlib)/auto
+texmfdir           ?= $(sharedstatedir)/texmf
+texmfconfigdir     ?= $(texmfdir)-config
+texmfdistdir       ?= $(texmfdir)-dist
+texmflocaldir      ?= $(texmfdir)-local
+texmfvardir        ?= $(texmfdir)-var
 
 # This Variable is only used if you make your package relocatable
 # using ALLOW_RELOCATE, it will allow you to change your default

Modified: csw/mgar/gar/v2/gar.pkg.mk
===================================================================
--- csw/mgar/gar/v2/gar.pkg.mk	2012-06-26 07:40:28 UTC (rev 18529)
+++ csw/mgar/gar/v2/gar.pkg.mk	2012-06-26 07:44:46 UTC (rev 18530)
@@ -232,6 +232,9 @@
 # This is the default path for texinfo pages to be picked up. Extend or replace as necessary.
 TEXINFO ?= $(infodir)/.*\.info(?:-\d+)? $(EXTRA_TEXINFO)
 
+# These are the default paths for TeX packages to be picked up.
+TEXHASH ?= $(texmfdir)/.* $(texmfconfigdir)/.* $(texmfdistdir)/.* $(texmflocaldir)/.* $(texmfvardir)/.* 
+
 # if AP2_MODS is set, files matching this shell glob (passed to find)
 # will have 'build' set as their class
 AP2_MODFILES ?= opt/csw/apache2/libexec/*so $(EXTRA_AP2_MODFILES)
@@ -250,6 +253,7 @@
 		$(foreach FILE,$(CRONTABS),$$F[1] = "cswcrontab" if( $$F[2] =~ m(^$(FILE)$$) );)\
 		$(if $(PYCOMPILE),$(foreach FILE,$(_PYCOMPILE_FILES),$$F[1] = "cswpycompile" if( $$F[2] =~ m(^$(FILE)$$) );))\
 		$(foreach FILE,$(TEXINFO),$$F[1] = "cswtexinfo" if( $$F[2] =~ m(^$(FILE)$$) );)\
+		$(foreach FILE,$(TEXHASH),$$F[1] = "cswtexhash" if( $$F[2] =~ m(^$(FILE)$$) );)\
 		$(if $(AP2_MODS), at F = ("e", "build", $$F[2], "?", "?", "?") if ($$F[2] =~ m(^/opt/csw/apache2/ap2mod/.*));) \
 		$(if $(PHP5_EXT), at F = ("e", "build", $$F[2], "?", "?", "?") if ($$F[2] =~ m(^/opt/csw/php5/extensions/.*));) \
 		$$F[1] = "cswcptemplates" if( $$F[2] =~ m(^/opt/csw/etc/templates/.+$$) and $$F[0] eq "f" ); \
@@ -281,6 +285,7 @@
 _CSWCLASSES += cswinitsmf
 _CSWCLASSES += cswtexinfo
 _CSWCLASSES += cswpostmsg
+_CSWCLASSES += cswtexhash
 
 # Make sure the configuration files always have a .CSW suffix and rename the
 # configuration files to this if necessary during merge.

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