Only provide 'make dist' if PACKAGE_NAME is set
This commit is contained in:
parent
3560f52cc4
commit
dfcc64f556
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue