VirtualBox

Changeset 41163 in vbox


Ignore:
Timestamp:
May 4, 2012 12:52:19 PM (13 years ago)
Author:
vboxsync
Message:

rpm: fixed wrong rpm docs path

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/rpm/rules

    r41038 r41163  
    9797  $(error failed to detect the .spec file (rpmrel=$(rpmrel)))
    9898 endif
    99 endif
    100 
    101 ifneq ($(wildcard $(verfile)),)
    102 include $(verfile)
     99
     100 # contrary to debian we need the verfile earlier to get the correct rpmname into the bld_flags
     101 include $(verfile)
     102$(verfile): rpm/configure-stamp
     103        . rpm/env.sh && kmk -C $(vboxroot) $(verfile) $(bld_flags)
     104
     105endif
     106
    103107ver      := $(VBOX_VERSION_STRING)
    104108rpmver   :=$(ver)$(if $(NOSUBVER),,$(if $(svn_revision),_$(svn_revision),)$(VERSUFFIX)$(if $(HEADLESS),_headless,)$(if $(DEBUG),_dbg,))$(if $(BLEEDING_EDGE),_$(BLEEDING_EDGE),)
    105109archdir  := $(current)/rpm/VirtualBox-$(ver)
    106110rpmname  := $(verpkg)-$(rpmver)_$(rpmrel)
    107 endif
    108111
    109112# Fedora13/14 is bleeding edge, the other jails have outdated kernel headers
     
    167170        touch rpm/configure-stamp
    168171
    169 rpm/build-stamp $(verfile): rpm/configure-stamp
     172rpm/build-stamp: rpm/configure-stamp
    170173        . rpm/env.sh && kmk -C $(vboxroot) $(bld_flags) $(if $(NOPARALLEL),-j1,) all
    171174        $(if $(NODOCS),cp $(vboxroot)/prebuild/UserManual*.pdf $(builddir)/bin,)
Note: See TracChangeset for help on using the changeset viewer.

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