diff --git a/Makefile.rules.in b/Makefile.rules.in index 411f47b..30b4eba 100644 --- a/Makefile.rules.in +++ b/Makefile.rules.in @@ -95,6 +95,10 @@ $(1)-install: install_targets += $(1)-install endef +archive: + git archive --format=tar HEAD | \ + bzip2 >$(PACKAGE_TARNAME)-$(PACKAGE_VERSION).tar.bz2 + ifneq ($(SUBDIR),) include $(SUBDIR)/Makefile $(foreach prog,$(PROGRAMS),$(eval $(call program_template,$(prog))))