nix-gh/dist.mk

15 lines
263 B
Makefile
Raw Normal View History

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