VirtualBox

Changeset 2334 in kBuild for branches/kBuild-0.1.5


Ignore:
Timestamp:
Apr 10, 2009 4:45:16 PM (16 years ago)
Author:
bird
Message:

0.1.5: Updated Maintenance.kmk with a patch variable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/kBuild-0.1.5/Maintenance.kmk

    r2243 r2334  
    2727include $(PATH_KBUILD)/header.kmk
    2828
     29MAINTENANCE_PATCH = -p1
     30
    2931RMTREE = $(ECHO) todo: $(RM) -Rf
    3032RMTREE = rm -Rf
     
    4042# Creates the 'all' tarballs.
    4143#
    42 $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)-all.tar.gz: | $$(dir $$@)
    43         $(RM) -f $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)-all.tar $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)-all.tar.gz
     44$(PATH_TARGET)/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH)-all.tar.gz: | $$(dir $$@)
     45        $(RM) -f $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH)-all.tar $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH)-all.tar.gz
    4446        $(RMTREE)             $(PATH_TARGET)/all/
    4547        $(MKDIR) -p           $(PATH_TARGET)/all/
    46         $(SVN) export .       $(PATH_TARGET)/all/kBuild-$(KBUILD_VERSION)/
     48        $(SVN) export .       $(PATH_TARGET)/all/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH)/
    4749        $(INSTALL) $(KBUILD_SVN_INFO_KMK) \
    48                               $(PATH_TARGET)/all/kBuild-$(KBUILD_VERSION)/SvnInfo.kmk
    49         $(TAR) cvf $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)-all.tar \
    50                            -C $(PATH_TARGET)/all/ kBuild-$(KBUILD_VERSION)/
    51         $(GZIP) -9 $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)-all.tar
    52         $(RMTREE)             $(PATH_TARGET)/all/kBuild-$(KBUILD_VERSION)/
     50                              $(PATH_TARGET)/all/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH)/SvnInfo.kmk
     51        $(TAR) cvf $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH)-all.tar \
     52                           -C $(PATH_TARGET)/all/ kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH)/
     53        $(GZIP) -9 $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH)-all.tar
     54        $(RMTREE)             $(PATH_TARGET)/all/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH)/
    5355
    5456OTHER_CLEAN += \
    55         $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)-all.tar \
    56         $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)-all.tar.gz
     57        $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH)-all.tar \
     58        $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH)-all.tar.gz
    5759
    5860
     
    7779# Creates the source tarballs.
    7880#
    79 $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)-src.tar.gz: | $$(dir $$@)
    80         $(RM) -f $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)-src.tar $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)-src.tar.gz
     81$(PATH_TARGET)/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH)-src.tar.gz: | $$(dir $$@)
     82        $(RM) -f $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH)-src.tar $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH)-src.tar.gz
    8183        $(RMTREE)             $(PATH_TARGET)/src/
    8284        $(MKDIR) -p           $(PATH_TARGET)/src/
    83         $(SVN) export .       $(PATH_TARGET)/src/kBuild-$(KBUILD_VERSION)/
    84         $(RMTREE)             $(PATH_TARGET)/src/kBuild-$(KBUILD_VERSION)/kBuild/bin
     85        $(SVN) export .       $(PATH_TARGET)/src/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH)/
     86        $(RMTREE)             $(PATH_TARGET)/src/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH)/kBuild/bin
    8587        $(INSTALL) $(KBUILD_SVN_INFO_KMK) \
    86                               $(PATH_TARGET)/src/kBuild-$(KBUILD_VERSION)/SvnInfo.kmk
    87         $(TAR) cvf $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)-src.tar \
    88                            -C $(PATH_TARGET)/src/ kBuild-$(KBUILD_VERSION)/
    89         $(GZIP) -9 $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)-src.tar
    90         $(RMTREE)             $(PATH_TARGET)/src/kBuild-$(KBUILD_VERSION)/
     88                              $(PATH_TARGET)/src/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH)/SvnInfo.kmk
     89        $(TAR) cvf $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH)-src.tar \
     90                           -C $(PATH_TARGET)/src/ kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH)/
     91        $(GZIP) -9 $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH)-src.tar
     92        $(RMTREE)             $(PATH_TARGET)/src/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH)/
    9193
    9294OTHER_CLEAN += \
    93         $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)-src.tar \
    94         $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)-src.tar.gz
     95        $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH)-src.tar \
     96        $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH)-src.tar.gz
    9597
    9698
     
    115117# Creates the binary tarballs.
    116118#
    117 $(PATH_TARGET)/kBuild-$(KBUILD_VERSION).tar.gz: | $$(dir $$@)
    118         $(RM) -f $(PATH_TARGET)/kBuild-$(KBUILD_VERSION).tar $(PATH_TARGET)/kBuild-$(KBUILD_VERSION).tar.gz
     119$(PATH_TARGET)/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH).tar.gz: | $$(dir $$@)
     120        $(RM) -f $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH).tar $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH).tar.gz
    119121        $(RMTREE)             $(PATH_TARGET)/bin/
    120         $(MKDIR) -p           $(PATH_TARGET)/bin/kBuild-$(KBUILD_VERSION)/
    121         $(SVN) export kBuild/ $(PATH_TARGET)/bin/kBuild-$(KBUILD_VERSION)/kBuild/
    122         $(TAR) cvf $(PATH_TARGET)/kBuild-$(KBUILD_VERSION).tar \
    123                            -C $(PATH_TARGET)/bin/ kBuild-$(KBUILD_VERSION)/
    124         $(GZIP) -9 $(PATH_TARGET)/kBuild-$(KBUILD_VERSION).tar
    125         $(RMTREE)             $(PATH_TARGET)/bin/kBuild-$(KBUILD_VERSION)/
     122        $(MKDIR) -p           $(PATH_TARGET)/bin/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH)/
     123        $(SVN) export kBuild/ $(PATH_TARGET)/bin/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH)/kBuild/
     124        $(TAR) cvf $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH).tar \
     125                           -C $(PATH_TARGET)/bin/ kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH)/
     126        $(GZIP) -9 $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH).tar
     127        $(RMTREE)             $(PATH_TARGET)/bin/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH)/
    126128
    127129OTHER_CLEAN += \
    128         $(PATH_TARGET)/kBuild-$(KBUILD_VERSION).tar \
    129         $(PATH_TARGET)/kBuild-$(KBUILD_VERSION).tar.gz
     130        $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH).tar \
     131        $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH).tar.gz
    130132
    131133
     
    149151#
    150152tarballs: \
    151         $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)-src.tar.gz \
    152         $(PATH_TARGET)/kBuild-$(KBUILD_VERSION).tar.gz \
     153        $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH)-src.tar.gz \
     154        $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH).tar.gz \
    153155        $(PATH_TARGET)/kBuild-$(KBUILD_SVN_REV).tar.gz \
    154156        $(PATH_TARGET)/kBuild-$(KBUILD_SVN_REV)-src.tar.gz
    155157
    156158release: \
    157         $(PATH_TARGET)/kBuild-$(KBUILD_VERSION).tar.gz \
    158         $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)-src.tar.gz \
    159         $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)-all.tar.gz
     159        $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH).tar.gz \
     160        $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH)-src.tar.gz \
     161        $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH)-all.tar.gz
    160162
    161163nightly: \
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