From 41fc6afd81b51ae0eda3958b8413574db2a17dbd Mon Sep 17 00:00:00 2001 From: paul Date: Thu, 29 Oct 2015 15:43:28 +0000 Subject: [PATCH] local menu fix in pathnames svn path=/trunk/; revision=32241 --- Makefile | 4 +-- tools/buildmenu.xsl | 67 ++++++++++++++------------------------------- 2 files changed, 23 insertions(+), 48 deletions(-) diff --git a/Makefile b/Makefile index 5a8d0661f6..977bd1be5c 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ SELECT := '' STYLESHEET := ./tools/buildmenu.xsl FIND := ./\(.*/\)*\(.*\)\.\([a-z][a-z]\)\.xhtml:[ \t]*\(.*\) -REPLACE := \1\2.html\4 +REPLACE := /\1\2.html\4 sources := $(shell grep -l -R --include='*.xhtml' $(SELECT) . ) @@ -32,7 +32,7 @@ sources := $(shell grep -l -R --include='*.xhtml' $(SELECT) . ) localmenus: localmenuinfo.en.xml -localmenuinfo.en.xml: $(sources) +localmenuinfo.en.xml: $(sources) $(STYLESHEET) echo \ > $(HELPERFILE) grep -R --include='*.xhtml' $(SELECT) .| sed -e 's,$(FIND),$(REPLACE),' >> $(HELPERFILE) echo \ >> $(HELPERFILE) diff --git a/tools/buildmenu.xsl b/tools/buildmenu.xsl index 514f4e39b1..a2b160046c 100644 --- a/tools/buildmenu.xsl +++ b/tools/buildmenu.xsl @@ -1,11 +1,9 @@ - - @@ -16,32 +14,22 @@ - - - + - - - - - - 0 - - + + + + 0 + - - - + - - - - - - default - - + + + + default + @@ -52,41 +40,28 @@ - - - - - + - - - - - - 0 - - + + + + 0 + - - - - - - - + + + - -