about summary refs log tree commit diff
path: root/dist.mk
blob: 0ce4377ae4af6c74f4f11ca02c3b485b30b3e396 (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