1 2 3 4 5 6 7 8
NAME = grub2-theme VERSION = 1.0 all: dist: @git archive --prefix=$(NAME)-$(VERSION)/ HEAD | xz > $(NAME)-$(VERSION).tar.xz; $(info $(NAME)-$(VERSION).tar.xz is ready)