Changeset 4 for branches/1.0
- Timestamp:
- Aug 24, 2009, 6:10:11 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0/src/makefile.kmk
r2 r4 39 39 uni_INCS = ./h ./rc 40 40 41 uni_CLEAN = /rc/description.rc $(PATH_BIN)/uni.pdr $(PATH_BIN)/uni.dll 41 uni_DLLSUFF = .pdr 42 43 uni_CLEAN = /rc/description.rc $(PATH_BIN)/uni.pdr 42 44 43 45 #build other files (e.g. help) 44 OTHERS = /rc/uni.ipf $(PATH_BIN)/uni.hlp $(PATH_BIN)/readme.txt $(PATH_BIN)/uni.pdr46 OTHERS = /rc/uni.ipf $(PATH_BIN)/uni.hlp $(PATH_BIN)/readme.txt 45 47 OTHER_CLEAN = $(PATH_BIN)/uni.hlp $(PATH_BIN)/readme.txt 46 48 … … 48 50 # packaging stuffs 49 51 ifeq ($(BUILD_TYPE),debug) 50 PACKAGE_NAME = uni-$(subst .,_,$(VERSION))-$(BUILD)-debug 52 PACKAGE_NAME = uni-$(subst .,_,$(VERSION))-$(BUILD)-debug.zip 51 53 else 52 PACKAGE_NAME = uni-$(subst .,_,$(VERSION))-$(BUILD) 54 PACKAGE_NAME = uni-$(subst .,_,$(VERSION))-$(BUILD).zip 53 55 endif 54 PACKING += $(PATH_ROOT)/dist/$(PACKAGE_NAME) .zip55 OTHER_CLEAN += $(PATH_ROOT)/dist/$(PACKAGE_NAME) .zip56 PACKING += $(PATH_ROOT)/dist/$(PACKAGE_NAME) 57 OTHER_CLEAN += $(PATH_ROOT)/dist/$(PACKAGE_NAME) 56 58 57 59 # now include standard code … … 90 92 > $(PATH_BIN)/readme.txt 91 93 92 #rename the dll to pdr 93 $(PATH_BIN)/uni.pdr: config.kmk 94 cp $(PATH_TARGET)/uni/uni.dll $(PATH_BIN)/uni.pdr 94 # final: zip all files! 95 $(PATH_ROOT)/dist/$(PACKAGE_NAME): \ 96 $(PATH_BIN)/uni.pdr 97 $(QUIET)$(MKDIR) -p $(PATH_ROOT)/dist 98 $(QUIET)$(RM) -f $@ 99 -ea2.cmd -e DEFAULT_PORT=UNI $(PATH_BIN)/uni.pdr 100 $(QUIET)zip -9 -j $@ $(PATH_BIN)/* 95 101 96 102
Note:
See TracChangeset
for help on using the changeset viewer.