makefile condition
This commit is contained in:
parent
ad70f564ba
commit
b7e2eb4b43
|
@ -41,10 +41,13 @@ IMAGE = $(NAME).img
|
||||||
ARCHIVE = $(IMAGE).xz
|
ARCHIVE = $(IMAGE).xz
|
||||||
SIGNATURE = $(ARCHIVE).sig
|
SIGNATURE = $(ARCHIVE).sig
|
||||||
OWNER = 1000
|
OWNER = 1000
|
||||||
if [ ! "$CONTINUOUS_INTEGRATION" ]; then
|
ifeq ("$CONTINUOUS_INTEGRATION", "")
|
||||||
|
XZ =
|
||||||
|
SIGN =
|
||||||
|
else
|
||||||
XZ = xz --no-warn --verbose --keep --threads=0 -3
|
XZ = xz --no-warn --verbose --keep --threads=0 -3
|
||||||
SIGN = -gpg --output $(SIGNATURE) --detach-sig $(ARCHIVE)
|
SIGN = -gpg --output $(SIGNATURE) --detach-sig $(ARCHIVE)
|
||||||
fi
|
endif
|
||||||
|
|
||||||
# settings for `make test`
|
# settings for `make test`
|
||||||
TEST_SSH_PORT = 2222
|
TEST_SSH_PORT = 2222
|
||||||
|
|
Loading…
Reference in New Issue