about summary refs log tree commit diff
path: root/dist.mk
blob: 444c58b3fe23da3e5128b6d5810348fbc63ffacb (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)
	$(QUIET) tar cvfj $@ $(dist_files) --transform 's,^,$(dist_name)/,'

clean_files += $(dist_name).tar.bz2

endif