In Makefile.real the $tarball variable is defined as
$(tarball_pfx).tar.bz2. Use this definition instead of repeating it.
$(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)
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)