Changeset c858ba4e
- Timestamp:
- 09/13/2023 06:10:38 AM (12 months ago)
- Branches:
- 12.1, 12.1-rc1, 12.2, 12.2-rc1, multilib, trunk, xry111/arm64, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/update-glibc
- Children:
- 48d8f5a
- Parents:
- a9dc972
- git-author:
- Xi Ruoyao <xry111@…> (09/13/2023 06:08:06 AM)
- git-committer:
- Xi Ruoyao <xry111@…> (09/13/2023 06:10:38 AM)
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
.gitignore
ra9dc972 rc858ba4e 1 1 lfs-bootscripts-*.tar.xz 2 lfs-*.tar.xz 2 3 conditional.ent 3 4 version.ent -
Makefile
ra9dc972 rc858ba4e 210 210 all: book nochunks pdf dump-commands 211 211 212 .PHONY : all book dump-commands nochunks pdf profile-html tmpdir validate md5sums wget-list version 213 212 dist: 213 $(Q)DIST=/tmp/LFS-RELEASE ./git-version.sh $(REV) 214 $(Q)rm -f lfs-$$(</tmp/LFS-RELEASE).tar.xz 215 $(Q)tar cJf lfs-$$(</tmp/LFS-RELEASE).tar.xz \ 216 $(shell git ls-tree HEAD . --name-only) version.ent \ 217 -C /tmp LFS-RELEASE \ 218 --transform "s,^,lfs-$$(</tmp/LFS-RELEASE)/," 219 $(Q)echo "Generated XML tarball lfs-$$(</tmp/LFS-RELEASE).tar.xz" 220 221 .PHONY : all book dump-commands nochunks pdf profile-html tmpdir validate md5sums wget-list version dist 222 -
git-version.sh
ra9dc972 rc858ba4e 18 18 # Either it's not a git repository, or git is unavaliable. 19 19 # Just workaround. 20 21 if [ -e LFS-RELEASE ]; then 22 exit 0 23 fi 24 20 25 echo "<![ %sysv; [" > version.ent 21 26 echo "<!ENTITY version \"unknown\">" >> version.ent … … 66 71 echo "<!ENTITY releasedate \"$full_date\">" >> version.ent 67 72 echo "<!ENTITY copyrightdate \"1999-$year\">" >> version.ent 73 74 [ -z "$DIST" ] || echo $version > "$DIST"
Note:
See TracChangeset
for help on using the changeset viewer.