Changeset 2334 in kBuild for branches/kBuild-0.1.5
- Timestamp:
- Apr 10, 2009 4:45:16 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/kBuild-0.1.5/Maintenance.kmk
r2243 r2334 27 27 include $(PATH_KBUILD)/header.kmk 28 28 29 MAINTENANCE_PATCH = -p1 30 29 31 RMTREE = $(ECHO) todo: $(RM) -Rf 30 32 RMTREE = rm -Rf … … 40 42 # Creates the 'all' tarballs. 41 43 # 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.gz44 $(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 44 46 $(RMTREE) $(PATH_TARGET)/all/ 45 47 $(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)/ 47 49 $(INSTALL) $(KBUILD_SVN_INFO_KMK) \ 48 $(PATH_TARGET)/all/kBuild-$(KBUILD_VERSION) /SvnInfo.kmk49 $(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.tar52 $(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)/ 53 55 54 56 OTHER_CLEAN += \ 55 $(PATH_TARGET)/kBuild-$(KBUILD_VERSION) -all.tar \56 $(PATH_TARGET)/kBuild-$(KBUILD_VERSION) -all.tar.gz57 $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH)-all.tar \ 58 $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH)-all.tar.gz 57 59 58 60 … … 77 79 # Creates the source tarballs. 78 80 # 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.gz81 $(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 81 83 $(RMTREE) $(PATH_TARGET)/src/ 82 84 $(MKDIR) -p $(PATH_TARGET)/src/ 83 $(SVN) export . $(PATH_TARGET)/src/kBuild-$(KBUILD_VERSION) /84 $(RMTREE) $(PATH_TARGET)/src/kBuild-$(KBUILD_VERSION) /kBuild/bin85 $(SVN) export . $(PATH_TARGET)/src/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH)/ 86 $(RMTREE) $(PATH_TARGET)/src/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH)/kBuild/bin 85 87 $(INSTALL) $(KBUILD_SVN_INFO_KMK) \ 86 $(PATH_TARGET)/src/kBuild-$(KBUILD_VERSION) /SvnInfo.kmk87 $(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.tar90 $(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)/ 91 93 92 94 OTHER_CLEAN += \ 93 $(PATH_TARGET)/kBuild-$(KBUILD_VERSION) -src.tar \94 $(PATH_TARGET)/kBuild-$(KBUILD_VERSION) -src.tar.gz95 $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH)-src.tar \ 96 $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH)-src.tar.gz 95 97 96 98 … … 115 117 # Creates the binary tarballs. 116 118 # 117 $(PATH_TARGET)/kBuild-$(KBUILD_VERSION) .tar.gz: | $$(dir $$@)118 $(RM) -f $(PATH_TARGET)/kBuild-$(KBUILD_VERSION) .tar $(PATH_TARGET)/kBuild-$(KBUILD_VERSION).tar.gz119 $(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 119 121 $(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) .tar125 $(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)/ 126 128 127 129 OTHER_CLEAN += \ 128 $(PATH_TARGET)/kBuild-$(KBUILD_VERSION) .tar \129 $(PATH_TARGET)/kBuild-$(KBUILD_VERSION) .tar.gz130 $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH).tar \ 131 $(PATH_TARGET)/kBuild-$(KBUILD_VERSION)$(MAINTENANCE_PATCH).tar.gz 130 132 131 133 … … 149 151 # 150 152 tarballs: \ 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 \ 153 155 $(PATH_TARGET)/kBuild-$(KBUILD_SVN_REV).tar.gz \ 154 156 $(PATH_TARGET)/kBuild-$(KBUILD_SVN_REV)-src.tar.gz 155 157 156 158 release: \ 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.gz159 $(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 160 162 161 163 nightly: \
Note:
See TracChangeset
for help on using the changeset viewer.