From dfcc64f556295481bfea0b68cab11604ec131189 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 12 Dec 2013 11:22:25 +0100 Subject: [PATCH] Only provide 'make dist' if PACKAGE_NAME is set --- mk/dist.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mk/dist.mk b/mk/dist.mk index 3e89aec81..444c58b3f 100644 --- a/mk/dist.mk +++ b/mk/dist.mk @@ -1,3 +1,5 @@ +ifdef PACKAGE_NAME + dist_name = $(PACKAGE_NAME)-$(PACKAGE_VERSION) dist_files := @@ -8,3 +10,5 @@ $(dist_name).tar.bz2: $(dist_files) $(QUIET) tar cvfj $@ $(dist_files) --transform 's,^,$(dist_name)/,' clean_files += $(dist_name).tar.bz2 + +endif