diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-09-13 01:13:42 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-09-13 01:13:42 -0400 |
commit | 949926e94f9752823800457dc43bd7f7d114b13e (patch) | |
tree | 8190c124a32a955f2cb08fdd3b473880ee415759 | |
parent | crossdev: handle aarch64 (diff) | |
download | crossdev-949926e94f9752823800457dc43bd7f7d114b13e.tar.gz crossdev-949926e94f9752823800457dc43bd7f7d114b13e.tar.bz2 crossdev-949926e94f9752823800457dc43bd7f7d114b13e.zip |
check for .git before setting up $PV
This avoids ugly warnings during `make install`.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -10,7 +10,7 @@ install: $(INSTALL_EXEC) crossdev $(DESTDIR)/$(PREFIX)/bin/ $(MAKE) -C wrappers install -PV = $(shell date --date="`git log -1 --format=%ci`" +%Y%m%d) +PV = $(shell test -e .git && date --date="`git log -1 --format=%ci`" +%Y%m%d) P = crossdev-$(PV) COMP = xz dist: |