dect
/
libdect
Archived
13
0
Fork 0

build: add archive target

Signed-off-by: Patrick McHardy <kaber@trash.net>
This commit is contained in:
Patrick McHardy 2010-10-10 19:53:49 +02:00
parent 318b67e8a1
commit 08ffd40ba7
1 changed files with 4 additions and 0 deletions

View File

@ -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))))