ca73c0102f
E.g. CXX src/nix-log2xml/log2xml.o CC src/bsdiff-4.3/bsdiff.o GEN scripts/nix-channel LD src/libmain/libnixmain.so
14 lines
263 B
Makefile
14 lines
263 B
Makefile
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
|