Update of /cvsroot/fink/web/xml
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29131

Modified Files:
        Makefile.i18n.common finkdoc-website.i18n.xsl 
Log Message:
produces the proper link to the printable

Index: Makefile.i18n.common
===================================================================
RCS file: /cvsroot/fink/web/xml/Makefile.i18n.common,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- Makefile.i18n.common        26 Feb 2004 01:48:07 -0000      1.8
+++ Makefile.i18n.common        28 Feb 2004 15:32:53 -0000      1.9
@@ -50,7 +50,7 @@
 
 %.php: $(SOURCE) $(STYLESHEET_WEBSITE)
        xmllint --noout --valid $(SOURCE) \
-       $(foreach  XMLFILE, $(SOURCE), && xsltproc --stringparam PRINTFILE $(patsubst 
%.xml,%.html,$(XMLFILE)) --stringparam DESTDIR $(DESTDIR)/ $(STYLESHEET_WEBSITE) 
$(XMLFILE))
+       $(foreach  XMLFILE, $(SOURCE), && xsltproc --stringparam PRINTFILE $(subst 
.xml,,$(BASE_SOURCE)) --stringparam DESTDIR $(DESTDIR)/ $(STYLESHEET_WEBSITE) 
$(XMLFILE))
        $(foreach  PHPFILE, $(TARGET), sed -e 's/Author: .Id: [^ ]\{1,\} [^ ]\{1,\} [^ 
]\{10\} [^ ]\{8\} \([^ ]\{1,\}\) Exp \$$/Author: \1/' $(PHPFILE) >$(addsuffix .tmp, 
$(PHPFILE)); )
        $(foreach  PHPFILE, $(TARGET), sed -e 's/Date: .Id: [^ ]\{1,\} [^ ]\{1,\} \([^ 
]\{10\} [^ ]\{8\}\) [^ ]\{1,\} Exp \$$/Date: \1/' $(addsuffix .tmp, $(PHPFILE)) 
>$(PHPFILE); )
        rm -f *.tmp

Index: finkdoc-website.i18n.xsl
===================================================================
RCS file: /cvsroot/fink/web/xml/finkdoc-website.i18n.xsl,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- finkdoc-website.i18n.xsl    26 Feb 2004 01:48:07 -0000      1.11
+++ finkdoc-website.i18n.xsl    28 Feb 2004 15:32:53 -0000      1.12
@@ -99,8 +99,8 @@
 </xsl:for-each>
 <xsl:text>);
 $printlink = "</xsl:text>
-<xsl:value-of select="$DESTDIR"/><xsl:value-of select="$PRINTFILE"/>
-<xsl:text>";
+<xsl:value-of select="$DESTDIR"/><xsl:value-of 
select="$PRINTFILE"/><xsl:text>.</xsl:text><xsl:value-of select="$lang-ext"/>
+<xsl:text>.html";
 
 $fsroot = $root = "</xsl:text><xsl:value-of select="@fsroot"/><xsl:text>";
 include $fsroot."header.inc";



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to