Changeset 84959 in vbox for trunk/src/VBox/Installer/linux
- Timestamp:
- Jun 25, 2020 6:03:25 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/rpm/rules
r84049 r84959 26 26 # either the subversion rev [if available] or the build date) 27 27 # NODOCS=1 don't build docs, use precompiled UserManual.pdf and 28 # VirtualBox.chm from $(vboxroot)/prebuild28 # maybe VirtualBox.chm from $(vboxroot)/prebuild 29 29 # NOMODS=1 don't build any module 30 30 # NOQT=1 don't build the Qt GUI … … 36 36 # NOWEBSVC=1 don't build the webservice API, default for OSE 37 37 # STAGEDISO=<path> don't build the VBoxAdditions, use the precompiled .iso 38 # STAGEDCHM=<path> use VirtualBox*.chm from this directory 38 39 # PKGDIR=<path> where to store the final package(s) 39 40 # svn_revision=xxx do not depend on subversion being available, but use this 40 41 # hard-coded revision number instead 41 42 # 42 # NODOCS will also be set if UserManual*.pdf and VirtualBox*.chm are placed in 43 # $(vboxroot)/prebuild. STAGEDISO will be set if VBoxGuestAdditions.iso is 44 # placed there. Wine will not be required to be available if both NODOCS and 45 # STAGEDISO are set. 43 # NODOCS will be set if UserManual*.pdf is placed in $(vboxroot)/prebuild. 44 # 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. 47 # 48 # Wine will not be required if either NODOCS or STAGEDISO are set. 46 49 47 50 ifeq ($(wildcard rpm/rules),) … … 53 56 vboxroot := $(shell while ! test -r configure && ! test "$PWD" = "/"; do cd ..; done; pwd) 54 57 pkgdir := $(if $(PKGDIR),$(PKGDIR),$(shell cd $(vboxroot)/..; pwd)) 55 builddir := $(vboxroot)/ rpm/builddir58 builddir := $(vboxroot)/out/rpm/builddir 56 59 stagedir := $(vboxroot)/src/VBox/Installer/linux/rpmbuild 57 60 rpmlib := $(shell if [ `uname -m` = "x86_64" ]; then echo "lib64"; else echo "lib"; fi) … … 65 68 NOQT ?= $(HEADLESS) 66 69 NOWEBSVC ?= $(ose) 67 NODOCS ?= $(if $(wildcard $(vboxroot)/prebuild/UserManual*.pdf), $(if $(wildcard $(vboxroot)/prebuild/VirtualBox*.chm),1,),)70 NODOCS ?= $(if $(wildcard $(vboxroot)/prebuild/UserManual*.pdf),1,) 68 71 STAGEDISO ?= $(if $(wildcard $(vboxroot)/prebuild/VBoxGuestAdditions.iso),$(vboxroot)/prebuild,) 69 NOWINE := $(if $(NODOCS),$(if $(STAGEDISO),1,),)$(ose) 72 STAGEDCHM ?= $(if $(wildcard $(vboxroot)/prebuild/VirtualBox*.chm),$(vboxroot)/prebuild,) 73 NOWINE := $(if $(NODOCS),1,$(if $(STAGEDISO),1,$(ose))) 70 74 71 75 ifneq ($(MAKECMDGOALS),clean) … … 172 176 $(wildcard /usr/bin/python2.6) $(wildcard /usr/bin/python2) $(wildcard /usr/bin/python))),) \ 173 177 $(doc_dir) \ 174 $(if $( ose),,VBOX_WITH_DOCS_CHM=1) \178 $(if $(STAGEDCHM),VBOX_WITH_DOCS_CHM=1,) \ 175 179 VBOX_PACKAGE_DIST=$(rpmdist) \ 176 180 $(if $(svnrev),VBOX_SVN_REV=$(svnrev),) \ … … 187 191 . rpm/env.sh && kmk -C $(vboxroot) $(bld_flags) $(if $(NOPARALLEL),-j1,) all 188 192 $(if $(NODOCS),cp $(vboxroot)/prebuild/UserManual*.pdf $(builddir)/bin,) 189 $(if $( NODOCS),cp $(vboxroot)/prebuild/VirtualBox*.chm $(builddir)/bin,)193 $(if $(STAGEDCHM),cp $(STAGEDCHM)/VirtualBox*.chm $(builddir)/bin,) 190 194 $(if $(EFI),cp $(vboxroot)/prebuild/VBoxEFI32.fd $(builddir)/bin,) 191 195 $(if $(EFI),cp $(vboxroot)/prebuild/VBoxEFI64.fd $(builddir)/bin,)
Note:
See TracChangeset
for help on using the changeset viewer.