SF.net SVN: gar:[22595] csw/mgar/gar/v2

pfelecan at users.sourceforge.net pfelecan at users.sourceforge.net
Thu Nov 28 11:07:10 CET 2013


Revision: 22595
          http://gar.svn.sourceforge.net/gar/?rev=22595&view=rev
Author:   pfelecan
Date:     2013-11-28 10:07:06 +0000 (Thu, 28 Nov 2013)
Log Message:
-----------
v2: support for DICT server dictionaries packages CAS

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	2013-11-28 09:28:24 UTC (rev 22594)
+++ csw/mgar/gar/v2/gar.conf.mk	2013-11-28 10:07:06 UTC (rev 22595)
@@ -149,6 +149,7 @@
 texmfdistdir       ?= $(texmfdir)-dist
 texmflocaldir      ?= $(texmfdir)-local
 texmfvardir        ?= $(texmfdir)-var
+dictddir           ?= $(datadir)/dictd
 
 # 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	2013-11-28 09:28:24 UTC (rev 22594)
+++ csw/mgar/gar/v2/gar.pkg.mk	2013-11-28 10:07:06 UTC (rev 22595)
@@ -254,6 +254,9 @@
 # These are the default paths for TeX packages to be picked up.
 TEXHASH ?= $(texmfdir)/.* $(texmfconfigdir)/.* $(texmfdistdir)/.* $(texmflocaldir)/.* $(texmfvardir)/.* 
 
+# These are the default paths for DICT server dictionaries  packages to be picked up.
+DICTCONF ?= $(dictddir)/.*
+
 # 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)
@@ -274,6 +277,7 @@
 		$(foreach FILE,$(TEXINFO),$$F[1] = "cswtexinfo" if( $$F[2] =~ m(^$(FILE)$$) );)\
 		$(foreach FILE,$(TEXHASH),$$F[1] = "cswtexhash" if( $$F[2] =~ m(^$(FILE)$$) );)\
 		$(foreach FILE,$(SSLCERT),$$F[1] = "cswsslcert" if( $$F[2] =~ m(^$(FILE)$$) );)\
+		$(foreach FILE,$(DICTCONF),$$F[1] = "cswdictconf" 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" ); \
@@ -310,6 +314,7 @@
 _CSWCLASSES += cswtexinfo
 _CSWCLASSES += cswpostmsg
 _CSWCLASSES += cswtexhash
+_CSWCLASSES += cswdictconf
 
 # 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