[Gnucash-changes] r14261 - htdocs/trunk - Don't overwrite top_dir.

Derek Atkins warlord at cvs.gnucash.org
Tue May 30 17:19:04 EDT 2006


Author: warlord
Date: 2006-05-30 17:19:04 -0400 (Tue, 30 May 2006)
New Revision: 14261
Trac: http://svn.gnucash.org/trac/changeset/14261

Modified:
   htdocs/trunk/Makefile
Log:
Don't overwrite top_dir.
Parameterize the home url


Modified: htdocs/trunk/Makefile
===================================================================
--- htdocs/trunk/Makefile	2006-05-30 21:10:36 UTC (rev 14260)
+++ htdocs/trunk/Makefile	2006-05-30 21:19:04 UTC (rev 14261)
@@ -45,15 +45,16 @@
 # Code to build the Namazu templates
 #
 LOCALFILE=local.php
-HOME=http://www.gnucash.org/beta
+URLBASE=
 FILETAIL=
 FILE=
+URL=http://www.gnucash.org$(URLBASE)
 TMPLBASE=search/templates/NMZ.
 
 # add when we have utf-8 translations: iconv -f UTF-8 -t ISO8859-1 
 
 nmz.onefile:
-	( echo '<?php ; include("$(LOCALFILE)"); $$home = "$(HOME)/$$lang_dir"; $$top_dir="."; ?>'; cat $(TMPLBASE)$(FILE).php_tmpl ) | php | tail +5 > $(TMPLBASE)$(FILE)$(FILETAIL)
+	( echo '<?php ; include("$(LOCALFILE)"); $$home = "$(URL)/$$lang_dir"; ?>'; cat $(TMPLBASE)$(FILE).php_tmpl ) | php | tail +5 > $(TMPLBASE)$(FILE)$(FILETAIL)
 
 nmz.lang:
 	$(MAKE) nmz.onefile FILE=head



More information about the gnucash-changes mailing list