diff options
author | Ztamas <zolnaitamas2000g@gmail.com> | 2012-11-18 16:21:51 +0100 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-11-20 10:32:31 +0100 |
commit | 3499c33c54d33e9654c77741eb4276cdd57ed981 (patch) | |
tree | 01c153baff0e7dac7b6f2796d8663020fcc60e00 /source/auxiliary | |
parent | c3cfcf7098787f11ca987ef8db65fbb670d8da6e (diff) |
Localize tree files in help
-Use the new treex instead of update_tree.pl
-Change dependancies to localize xhp files
before tree files because treex use localized
xhp files.
Change-Id: Ie061fc497542f53f81af9b6201bab1ef04d2020b
Diffstat (limited to 'source/auxiliary')
-rw-r--r-- | source/auxiliary/makefile.mk | 43 |
1 files changed, 2 insertions, 41 deletions
diff --git a/source/auxiliary/makefile.mk b/source/auxiliary/makefile.mk index 8f4bffd963..b5961c80d4 100644 --- a/source/auxiliary/makefile.mk +++ b/source/auxiliary/makefile.mk @@ -34,15 +34,6 @@ TARGET = auxiliary .INCLUDE : settings.mk -TREEFILES = \ - sbasic.tree \ - simpress.tree \ - scalc.tree \ - smath.tree \ - schart.tree \ - swriter.tree \ - shared.tree - # --- Targets ------------------------------------------------------ .INCLUDE : target.mk @@ -50,7 +41,7 @@ TREEFILES = \ XMLLINT !:=$(XMLLINT) .EXPORT : XMLLINT -ALLTAR : aux_dirs $(COMMONMISC)$/treefiles.done $(COMMONBIN)$/helpimg.ilst +ALLTAR : aux_dirs $(COMMONBIN)$/helpimg.ilst .IF "$(WITH_LANG)"!="" t_aux_langdirs:=$(shell @find ./ -name "*.cfg" | sed "s/\.\/\///" | sed "s/\.\///" ) @@ -58,41 +49,11 @@ t_aux_langdirs:=$(shell @find ./ -name "*.cfg" | sed "s/\.\/\///" | sed "s/\.\// aux_langdirs:=$(uniq $(t_aux_langdirs:d:d)) help_exist:=$(shell @find $(L10N_MODULE)/source/ -type d -name "helpcontent2" | sed -e "s|/helpcontent2||" -e "s|^.*/||" ) en-US qtz -aux_alllangiso_all:=$(foreach,i,$(alllangiso) $(foreach,j,$(aux_langdirs) $(eq,$i,$j $i $(NULL)))) -aux_alllangiso:=$(foreach,i,$(aux_alllangiso_all) $(foreach,j,$(help_exist) $(eq,$i,$j $i $(NULL)))) - -WITH_LANG!:=$(aux_alllangiso) -.EXPORT : WITH_LANG - -LOCTREEFILES:=$(foreach,i,$(aux_alllangiso) $(foreach,j,$(TREEFILES) $(COMMONMISC)$/$i$/$j)) .ELSE #IF "$(WITH_LANG)"!="" aux_langdirs:=en-US help_exist:=en-US -LOCTREEFILES:=$(foreach,j,$(TREEFILES) $(COMMONMISC)$/en-US$/$j) -.ENDIF #IF "$(WITH_LANG)"!="" - -$(COMMONMISC)$/treefiles.done : $(LOCTREEFILES) - $(COMMAND_ECHO)+$(PERL) $(PRJ)$/helpers$/update_tree.pl && $(TOUCH) $@ - -%.created: - @-$(MKDIRHIER) $(@:d) && $(TOUCH) $@ -$(LOCTREEFILES) : $(TREEFILES) $$(@:d)$/dir.created - @$(TOUCH) $@ - -.IF "$(WITH_LANG)"!="" -.IF "$(LOCALIZATION_FOUND)"=="YES" -$(LOCTREEFILES) : $(TRYSDF:d:d:d:d)$/text$/shared/localize.sdf -.ELSE # "$(LOCALIZATION_FOUND)"=="YES" -$(COMMONMISC)/unpack.done : $(SOLARCOMMONSDFDIR)$/$(PRJNAME).zip - @@-$(MKDIRHIER) $(COMMONMISC)$/$(PRJNAME)_$(TARGET) - unzip -o -d $(COMMONMISC)$/$(PRJNAME) $(SOLARCOMMONSDFDIR)$/$(PRJNAME).zip - $(TOUCH) $@ - -$(LOCTREEFILES) : $(COMMONMISC)/unpack.done - -.ENDIF # "$(LOCALIZATION_FOUND)"=="YES" -.ENDIF # "$(WITH_LANG)"!="" +.ENDIF #IF "$(WITH_LANG)"!="" aux_dirs .PHONY : @echo aux_langdirs:=$(aux_langdirs) > $(LOCAL_COMMON_OUT)/inc$/aux_langs.mk |