mirror of
https://github.com/Poltern/lfs-ru.git
synced 2024-10-18 11:50:21 +03:00
build: Use -r for git ls-tree in make dist
Without this we may pack things like *.swp into the tarball
This commit is contained in:
parent
da40653bc5
commit
fad6cea335
2
Makefile
2
Makefile
@ -221,7 +221,7 @@ dist:
|
||||
$(Q)DIST=/tmp/LFS-RELEASE ./git-version.sh $(REV)
|
||||
$(Q)rm -f lfs-$$(</tmp/LFS-RELEASE).tar.xz
|
||||
$(Q)tar cJf lfs-$$(</tmp/LFS-RELEASE).tar.xz \
|
||||
$(shell git ls-tree HEAD . --name-only) version.ent \
|
||||
$(shell git ls-tree HEAD . --name-only -r) version.ent \
|
||||
-C /tmp LFS-RELEASE \
|
||||
--transform "s,^,lfs-$$(</tmp/LFS-RELEASE)/,"
|
||||
$(Q)echo "Generated XML tarball lfs-$$(</tmp/LFS-RELEASE).tar.xz"
|
||||
|
Loading…
Reference in New Issue
Block a user