aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f681077..9a862f8 100644
--- a/Makefile
+++ b/Makefile
@@ -10,9 +10,11 @@ install:
$(INSTALL_EXEC) crossdev $(DESTDIR)/$(PREFIX)/bin/
$(MAKE) -C wrappers install
-P = crossdev-`date +%Y%m%d`
+PV = $(shell date +%Y%m%d)
+P = crossdev-$(PV)
dist:
- git archive --prefix=$(P)/ HEAD > $(P).tar
+ git archive --prefix=$(P)/ HEAD | sed 's:@CDEVPV@:$(PV):g' > $(P).tar
-lzma -f $(P).tar
+ du -b $(P).tar*
.PHONY: all dist install