VirtualBox

Changeset 90038 in vbox for trunk/debian


Ignore:
Timestamp:
Jul 5, 2021 7:29:55 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
145532
Message:

debian/rules, rpm/rules: Change from CHM help file to QHelp. bugref:9831

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/debian/rules

    r84968 r90038  
    2929#                   either the subversion rev [if available] or the build date)
    3030#  NODOCS=1         don't build docs, use precompiled UserManual.pdf and
    31 #                   maybe VirtualBox.chm from $(vboxroot)/prebuild
     31#                   maybe VirtualBox.qch and VirtualBox.qhc from $(vboxroot)/prebuild
    3232#  NOMODS=1         don't build any module
    3333#  NOQT=1           don't build the Qt GUI
     
    3838#  NOWEBSVC=1       don't build the webservice API, default for OSE
    3939#  STAGEDISO=<path> don't build the VBoxAdditions, use the precompiled .iso
    40 #  STAGEDCHM=<path> use VirtualBox*.chm from this directory
     40#  STAGEDQHELP=<path> use VirtualBox*.qch and VirtualBox*.qhc from this directory
    4141#  PKGDIR=<path>    where to store the final package(s)
    4242#
    4343# NODOCS will be set if UserManual*.pdf is placed in $(vboxroot)/prebuild.
    4444# STAGEDISO will be set if VBoxGuestAdditions.iso is placed there.
    45 # STAGEDCHM will be set if VirtualBox*.chm is placed there.
    46 # VirtualBox*.chm is used if it is provided, but never attempted to be built.
     45# STAGEDQHELP will be set if VirtualBox*.qch and VirtualBox*.qhc is placed there.
     46# VirtualBox*.qch and VirtualBox*.qhc are used if they are provided, but never
     47# attempted to be built.
    4748#
    4849# Wine will not be required if either NODOCS or STAGEDISO are set.
     
    6667NODOCS   ?= $(if $(wildcard $(vboxroot)/prebuild/UserManual*.pdf),1,)
    6768STAGEDISO ?= $(if $(wildcard $(vboxroot)/prebuild/VBoxGuestAdditions.iso),$(vboxroot)/prebuild,)
    68 STAGEDCHM ?= $(if $(wildcard $(vboxroot)/prebuild/VirtualBox*.chm),$(vboxroot)/prebuild,)
     69STAGEDQHELP ?= $(if $(and $(wildcard $(vboxroot)/prebuild/VirtualBox*.qch),$(wildcard $(vboxroot)/prebuild/VirtualBox*.qhc)),$(vboxroot)/prebuild,)
    6970NOWINE   := $(if $(NODOCS),1,$(if $(STAGEDISO),1,$(ose)))
    7071PYTHON   := $(firstword $(shell which python) $(shell which python3))
     
    102103             VBOX_DO_STRIP= \
    103104             VBOX_PATH_PACKAGE_DOCS="\"/usr/share/doc/$(verpkg)\"" \
    104              $(if $(STAGEDCHM),VBOX_WITH_DOCS_CHM=1,VBOX_WITH_KCHMVIEWER=) \
     105             $(if $(STAGEDQHELP),VBOX_WITH_DOCS_QHELP=1,) \
    105106             $(if $(svnrev),VBOX_SVN_REV=$(svnrev),) \
    106107             $(if $(NODOCS),VBOX_WITH_DOCS= ,) \
     
    119120        . debian/env.sh && kmk -C $(vboxroot) $(bld_flags) $(if $(NOPARALLEL),-j1,) all
    120121        $(if $(NODOCS),cp $(vboxroot)/prebuild/UserManual*.pdf $(builddir)/bin,)
    121         $(if $(STAGEDCHM),cp $(STAGEDCHM)/VirtualBox*.chm $(builddir)/bin,)
     122        $(if $(STAGEDQHELP),cp $(STAGEDQHELP)/VirtualBox*.qch $(STAGEDQHELP)/VirtualBox*.qhc $(builddir)/bin,)
    122123        $(if $(EFI),cp $(vboxroot)/prebuild/VBoxEFI32.fd $(builddir)/bin,)
    123124        $(if $(EFI),cp $(vboxroot)/prebuild/VBoxEFI64.fd $(builddir)/bin,)
     
    236237ifeq ($(ose),)
    237238        dh_installdocs \
    238             $(archdir)/UserManual*.pdf $(archdir)/VirtualBox*.chm \
    239             $(addprefix $(archdir)/, LICENSE)
    240         rm $(addprefix $(archdir)/,UserManual*.pdf VirtualBox*.chm \
     239            $(addprefix $(archdir)/,UserManual*.pdf VirtualBox*.qch VirtualBox*.qhc \
     240            LICENSE)
     241        rm $(addprefix $(archdir)/,UserManual*.pdf VirtualBox*.qch VirtualBox*.qhc \
    241242            LICENSE)
    242243        for i in rdesktop-vrdp.tar.gz additions/VBoxGuestAdditions.iso; do \
     
    307308endif
    308309        $(firstword $(shell which dh_python2) $(shell which dh_python3))
    309         dh_compress -X.pdf -X.chm -X LICENSE -X.py
     310        dh_compress -X.pdf -X LICENSE -X.py
    310311        dh_fixperms
    311312        dh_makeshlibs
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