2013-12-12 11:22:25 +01:00
|
|
|
ifdef PACKAGE_NAME
|
|
|
|
|
2013-12-10 15:54:34 +01:00
|
|
|
dist_name = $(PACKAGE_NAME)-$(PACKAGE_VERSION)
|
|
|
|
|
|
|
|
dist_files :=
|
|
|
|
|
|
|
|
dist: $(dist_name).tar.bz2
|
|
|
|
|
|
|
|
$(dist_name).tar.bz2: $(dist_files)
|
2014-01-10 22:31:38 +01:00
|
|
|
$(suppress) tar cvfj $@ $(dist_files) --transform 's,^,$(dist_name)/,'
|
2013-12-10 15:54:34 +01:00
|
|
|
|
|
|
|
clean_files += $(dist_name).tar.bz2
|
2013-12-12 11:22:25 +01:00
|
|
|
|
|
|
|
endif
|