VirtualBox

Changeset 293 in vbox


Ignore:
Timestamp:
Jan 25, 2007 9:57:18 AM (18 years ago)
Author:
vboxsync
Message:

added 'kmk snapshot' rule

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r224 r293  
    258258endif
    259259
     260#
     261# Generate VirtualBox-OSE-x.x.x.tar.bz2 tarballs for distribution
     262#
     263# - includes kBuild
     264# - must be executed on an OSE checkout
     265#
     266
     267# the path where to store the tarball
     268TARBALLPATH ?= $(shell cd $(PATH_ROOT)/..; pwd)
     269# the root directory inside the tarball
     270TARBALLROOT ?= VirtualBox-OSE-$(VBOX_VERSION)
     271# the name of the tarball file
     272TARBALLNAME ?= VirtualBox-OSE-$(VBOX_VERSION).tar.bz2
     273snapshot:
     274        @$(call MSG_L1,Creating tarball $(TARBALLPATH)/$(TARBALLNAME))
     275        @if [ -d "$(PATH_ROOT)/src/VBox/Devices/USB" ]; then echo; echo "Found USB stuff, refused to build OSE tarball!"; echo; exit 1; fi
     276        $(QUIET)$(MKDIR) -p $(TARBALLPATH)
     277        $(QUIET)$(RM) -f $(wildcard $(TARBALLPATH)/VirtualBox*)
     278        $(QUIET)$(LN_SYMLINK) $(PATH_ROOT) $(TARBALLPATH)/$(TARBALLROOT)
     279        $(QUIET)tar -cjh --owner 0 --group 0 --totals \
     280            --exclude=.svn \
     281            --exclude=$(TARBALLROOT)/out \
     282            --exclude=$(TARBALLROOT)/env.sh \
     283            --exclude=$(TARBALLROOT)/configure.log \
     284            --exclude=$(TARBALLROOT)/AutoConfig.kmk \
     285            --exclude=$(TARBALLROOT)/LocalConfig.kmk \
     286            -C $(TARBALLPATH) \
     287            -f $(TARBALLPATH)/$(TARBALLNAME) \
     288            $(TARBALLROOT)
     289        $(QUIET)$(RM) $(TARBALLPATH)/$(TARBALLROOT)
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