mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Update armake Windows binaries to 0.6.1, Use new signature name argument and header info for 'version'
This commit is contained in:
parent
40de340d82
commit
7dda6c62ef
10
Makefile
10
Makefile
@ -29,12 +29,12 @@ endif
|
|||||||
$(BIN)/addons/$(PREFIX)_%.pbo: addons/%
|
$(BIN)/addons/$(PREFIX)_%.pbo: addons/%
|
||||||
@mkdir -p $(BIN)/addons
|
@mkdir -p $(BIN)/addons
|
||||||
@echo " PBO $@"
|
@echo " PBO $@"
|
||||||
@${ARMAKE} build ${FLAGS} -f $< $@
|
@${ARMAKE} build ${FLAGS} -f -e "version=$(GIT_HASH)" $< $@
|
||||||
|
|
||||||
$(BIN)/optionals/$(PREFIX)_%.pbo: optionals/%
|
$(BIN)/optionals/$(PREFIX)_%.pbo: optionals/%
|
||||||
@mkdir -p $(BIN)/optionals
|
@mkdir -p $(BIN)/optionals
|
||||||
@echo " PBO $@"
|
@echo " PBO $@"
|
||||||
@${ARMAKE} build ${FLAGS} -f $< $@
|
@${ARMAKE} build ${FLAGS} -f -e "version=$(GIT_HASH)" $< $@
|
||||||
|
|
||||||
# Shortcut for building single addons (eg. "make <component>.pbo")
|
# Shortcut for building single addons (eg. "make <component>.pbo")
|
||||||
%.pbo:
|
%.pbo:
|
||||||
@ -53,13 +53,11 @@ $(BIN)/keys/%.biprivatekey:
|
|||||||
|
|
||||||
$(BIN)/addons/$(PREFIX)_%.pbo.$(PREFIX)_$(VERSION)-$(GIT_HASH).bisign: $(BIN)/addons/$(PREFIX)_%.pbo $(BIN)/keys/$(PREFIX)_$(VERSION).biprivatekey
|
$(BIN)/addons/$(PREFIX)_%.pbo.$(PREFIX)_$(VERSION)-$(GIT_HASH).bisign: $(BIN)/addons/$(PREFIX)_%.pbo $(BIN)/keys/$(PREFIX)_$(VERSION).biprivatekey
|
||||||
@echo " SIG $@"
|
@echo " SIG $@"
|
||||||
@${ARMAKE} sign -f $(BIN)/keys/$(PREFIX)_$(VERSION).biprivatekey $<
|
@${ARMAKE} sign -f -s $@ $(BIN)/keys/$(PREFIX)_$(VERSION).biprivatekey $<
|
||||||
@mv "$(subst -$(GIT_HASH),,$@)" $@ # armake does not take bisign name as parameter yet
|
|
||||||
|
|
||||||
$(BIN)/optionals/$(PREFIX)_%.pbo.$(PREFIX)_$(VERSION)-$(GIT_HASH).bisign: $(BIN)/optionals/$(PREFIX)_%.pbo $(BIN)/keys/$(PREFIX)_$(VERSION).biprivatekey
|
$(BIN)/optionals/$(PREFIX)_%.pbo.$(PREFIX)_$(VERSION)-$(GIT_HASH).bisign: $(BIN)/optionals/$(PREFIX)_%.pbo $(BIN)/keys/$(PREFIX)_$(VERSION).biprivatekey
|
||||||
@echo " SIG $@"
|
@echo " SIG $@"
|
||||||
@${ARMAKE} sign -f $(BIN)/keys/$(PREFIX)_$(VERSION).biprivatekey $<
|
@${ARMAKE} sign -f -s $@ $(BIN)/keys/$(PREFIX)_$(VERSION).biprivatekey $<
|
||||||
@mv "$(subst -$(GIT_HASH),,$@)" $@ # armake does not take bisign name as parameter yet
|
|
||||||
|
|
||||||
signatures: $(patsubst addons/%, $(BIN)/addons/$(PREFIX)_%.pbo.$(PREFIX)_$(VERSION)-$(GIT_HASH).bisign, $(wildcard addons/*)) \
|
signatures: $(patsubst addons/%, $(BIN)/addons/$(PREFIX)_%.pbo.$(PREFIX)_$(VERSION)-$(GIT_HASH).bisign, $(wildcard addons/*)) \
|
||||||
$(patsubst optionals/%, $(BIN)/optionals/$(PREFIX)_%.pbo.$(PREFIX)_$(VERSION)-$(GIT_HASH).bisign, $(wildcard optionals/*))
|
$(patsubst optionals/%, $(BIN)/optionals/$(PREFIX)_%.pbo.$(PREFIX)_$(VERSION)-$(GIT_HASH).bisign, $(wildcard optionals/*))
|
||||||
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user