diff options
author | 2008-12-02 16:10:15 -0500 | |
---|---|---|
committer | 2008-12-02 16:10:15 -0500 | |
commit | ee2a6de6eaf1d018b83088cd2cb74c860ac8e10d (patch) | |
tree | a892cc1820db96dabb9bc14616e99d434893c318 /Makefile | |
parent | Merge crossdev-0.9.19 from the portage tree (diff) | |
download | crossdev-ee2a6de6eaf1d018b83088cd2cb74c860ac8e10d.tar.gz crossdev-ee2a6de6eaf1d018b83088cd2cb74c860ac8e10d.tar.bz2 crossdev-ee2a6de6eaf1d018b83088cd2cb74c860ac8e10d.zip |
dist: set version during generation
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |