VirtualBox

Changeset 56536 in vbox


Ignore:
Timestamp:
Jun 18, 2015 6:31:06 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
101158
Message:

More cleanups

Location:
trunk/doc/manual
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/manual/Makefile.kmk

    r56535 r56536  
    158158                -e 's|@VBOX_PATH_MANUAL_SRC@|$$(VBOX_PATH_MANUAL_SRC)|g' \
    159159                -e 's|@VBOX_PATH_MANUAL_OUTBASE@|$$(VBOX_PATH_MANUAL_OUTBASE)|g' \
     160                -e 's|@VBOX_PATH_MANUAL_OUT_LANG@|$$(VBOX_PATH_MANUAL_OUTBASE)$(if $2,/$(patsubst %/,%,$2),)|g' \
    160161                \
    161162                -e 's|@CFGPATH@|$$(VBOX_PATH_MANUAL_SRC)|g' \
     
    755756 # Microsoft Help Compiler.
    756757 #
     758 $(foreach lang,$(VBOX_MANUAL_LANGUAGES),$(evalcall2 def_vbox_replace_paths_in_xslt,docbook-htmlhelp-formatcfg.xsl,$(lang)/))
     759
     760 # Manual formatcfg dependencies for the above.
     761 $(foreach lang,$(VBOX_MANUAL_LANGUAGES), $(VBOX_PATH_MANUAL_OUTBASE)/$(lang)/docbook-htmlhelp-formatcfg.xsl): \
     762        $(VBOX_PATH_MANUAL_SRC)/common-formatcfg.xsl \
     763        $(VBOX_PATH_MANUAL_SRC)/common-html-formatcfg.xsl
     764
    757765 $(PATH_STAGE_BIN)/VirtualBox.chm: $(VBOX_PATH_MANUAL_OUTBASE)/en_US/VirtualBox.chm
    758766        $(QUIET)$(CP) $< $@
     
    772780        $(QUIET)$(VBOX_HHC) $(subst /,\\,$<)
    773781
    774 
    775  # intermediate step to do some variable replacement in the XSL configuration
    776  $(foreach lang,$(VBOX_MANUAL_LANGUAGES),$(VBOX_PATH_MANUAL_OUTBASE)/$(lang)/docbook-htmlhelp-formatcfg.xsl): \
    777                 $(VBOX_PATH_MANUAL_SRC)/docbook-htmlhelp-formatcfg.xsl $(MAKEFILE_CURRENT) | $$(dir $$@)
    778         $(call MSG_GENERATE,,$@,$<)
    779         $(QUIET)$(RM) -f $@
    780         $(QUIET)$(SED) -e 's|\$$DOCBOOKPATH|$(VBOX_PATH_DOCBOOK)|g' \
    781                        -e 's|\$$CFGPATH|$(VBOX_PATH_MANUAL_SRC)|g' \
    782                        -e 's|\$$TARGETPATH|$(@D)|g' --output $@ $<
    783 
    784  # Manual formatcfg dependencies.
    785  $(foreach lang,$(VBOX_MANUAL_LANGUAGES), $(VBOX_PATH_MANUAL_OUTBASE)/$(lang)/docbook-htmlhelp-formatcfg.xsl): \
    786         $(VBOX_PATH_MANUAL_SRC)/common-formatcfg.xsl \
    787         $(VBOX_PATH_MANUAL_SRC)/common-html-formatcfg.xsl
    788 
    789782 # Prepare the XSL file for our title page, htmlhelp variant.
    790783 $(foreach f,$(VBOX_MANUAL_LANGUAGES),$(VBOX_PATH_MANUAL_OUTBASE)/$f/titlepage-htmlhelp.xsl): \
     
    794787        $(QUIET)$(VBOX_XSLTPROC) --xinclude --nonet -o [email protected] $(VBOX_PATH_DOCBOOK)/template/titlepage.xsl $<
    795788        $(QUIET)$(MV) -f [email protected] $@
    796 
    797789
    798790 $(foreach f,$(VBOX_MANUAL_LANGUAGES),$(VBOX_PATH_MANUAL_OUTBASE)/$f/HTMLHelp/htmlhelp.hhp): \
  • trunk/doc/manual/docbook-htmlhelp-formatcfg.xsl

    r56496 r56536  
    22<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    33
    4 <xsl:import href="$DOCBOOKPATH/htmlhelp/htmlhelp.xsl"/>
    5 <xsl:import href="$CFGPATH/common-formatcfg.xsl"/>
    6 <xsl:import href="$CFGPATH/common-html-formatcfg.xsl"/>
     4<xsl:import href="@VBOX_PATH_DOCBOOK@/htmlhelp/htmlhelp.xsl"/>
     5<xsl:import href="@VBOX_PATH_MANUAL_SRC@/common-formatcfg.xsl"/>
     6<xsl:import href="@VBOX_PATH_MANUAL_SRC@/common-html-formatcfg.xsl"/>
    77
    8 <xsl:include href="$TARGETPATH/titlepage-htmlhelp.xsl"/>
     8<xsl:include href="@VBOX_PATH_MANUAL_OUT_LANG@/titlepage-htmlhelp.xsl"/>
    99
    1010<!-- Override the style sheet stuff from common-html-formatcfg.xsl, we don't
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette