From 0d09c89fcf180385c30a1e2217ef61f5ca1e7993 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 19 Apr 2014 23:00:24 +0000 Subject: [PATCH] build: Do not opencode $(tarball). In Makefile.real the $tarball variable is defined as $(tarball_pfx).tar.bz2. Use this definition instead of repeating it. --- Makefile.real | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.real b/Makefile.real index 7b7ea419..6bdbc71d 100644 --- a/Makefile.real +++ b/Makefile.real @@ -304,7 +304,7 @@ install: all man $(MKDIR_P) $(VARDIR) >/dev/null 2>&1 || true # not fatal, so don't complain $(tarball): - rm -rf $(tarball_pfx).tar.bz2 $(tarball_pfx) + rm -rf $(tarball) $(tarball_pfx) git archive --format=tar --prefix=$(tarball_pfx)/ HEAD \ | tar --delete $(tarball_delete) > $(tarball_pfx).tar $(MKDIR_P) $(tarball_pfx) @@ -312,5 +312,5 @@ $(tarball): cp -r $(autocrap) $(tarball_pfx) tar rf $(tarball_pfx).tar $(tarball_pfx)/* bzip2 -9 $(tarball_pfx).tar - ls -l $(tarball_pfx).tar.bz2 + ls -l $(tarball) rm -rf $(tarball_pfx) -- 2.30.2