diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-12-12T10·22+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-12-12T10·22+0100 |
commit | dfcc64f556295481bfea0b68cab11604ec131189 (patch) | |
tree | 65db6590afc86d5602c34d03b815e9f4721d615d | |
parent | 3560f52cc427a4eb368815ae7dd9badffba84f3f (diff) |
Only provide 'make dist' if PACKAGE_NAME is set
-rw-r--r-- | mk/dist.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mk/dist.mk b/mk/dist.mk index 3e89aec81fac..444c58b3fe23 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 |