about summary refs log tree commit diff
path: root/dist.mk
blob: cd11463e8a68e434fa5b7a73511e469703e069fe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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

print-top-help += echo "  dist: Generate a source distribution";

endif