aboutsummaryrefslogtreecommitdiffstats
path: root/mk/dist.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-08 20:46:53 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-08 20:46:53 +0100
commitd6dd4da48e4c15623582fe0b561d8095498df4db (patch)
tree4708cfc32af2914cd49ecf36ac962b07ea46b694 /mk/dist.mk
parenta magical makefile, using a collection of submakefiles that are completely reusable without modifications (diff)
downloadscrotty-d6dd4da48e4c15623582fe0b561d8095498df4db.tar.gz
scrotty-d6dd4da48e4c15623582fe0b561d8095498df4db.tar.bz2
scrotty-d6dd4da48e4c15623582fe0b561d8095498df4db.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-rw-r--r--mk/dist.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/dist.mk b/mk/dist.mk
index 8b98cce..34b5f13 100644
--- a/mk/dist.mk
+++ b/mk/dist.mk
@@ -34,7 +34,8 @@ GPG_KEY ?=
# The packages and there detached signatures (if any.)
ifndef DO_NOT_SIGN
__DIST_FILES = $(foreach F,$(DIST_FORMATS),$(_PROJECT)-$(_VERSION).$(F) $(_PROJECT)-$(_VERSION).$(F).sig)
-else
+endif
+ifdef DO_NOT_SIGN
__DIST_FILES = $(foreach F,$(DIST_FORMATS),$(_PROJECT)-$(_VERSION).$(F))
endif
@@ -84,7 +85,8 @@ dist-bz2: $(_PROJECT)-$(_VERSION).tar.bz2 $(_PROJECT)-$(_VERSION).tar.bz2.sig
# Generate gzip-copressed tarball and signature of it.
.PHONY: dist-gz
dist-gz: $(_PROJECT)-$(_VERSION).tar.gz $(_PROJECT)-$(_VERSION).tar.sig
-else
+endif
+ifdef DO_NOT_SIGN
# Generate checksums, but no signature.
.PHONY: dist-checksums
dist-checksums: $(_PROJECT)-$(_VERSION).checksums