mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 00:08:07 +02:00
55c9a40613
This makes it easier to use with "git subtree".
14 lines
260 B
Makefile
14 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
|