lix/dist.mk
Eelco Dolstra 55c9a40613 Move stuff to top-level
This makes it easier to use with "git subtree".
2014-01-09 16:12:02 +01:00

15 lines
260 B
Makefile

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