about summary refs log tree commit diff
path: root/dist.mk
blob: bf97b697f95fd782201424ce3bc17eff7a4d6897 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
ifdef PACKAGE_NAME

dist_name = $(PACKAGE_NAME)-$(PACKAGE_VERSION)

dist_files :=

dist: $(dist_name).tar.bz2

$(dist_name).tar.bz2: $(dist_files)
	$(suppress) tar cvfj $@ $(dist_files) --transform 's,^,$(dist_name)/,'

clean_files += $(dist_name).tar.bz2

endif