From: notaz Date: Wed, 2 Apr 2025 23:33:00 +0000 (+0300) Subject: pandora: fix readme and pxml version X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;p=picodrive.git pandora: fix readme and pxml version --- diff --git a/platform/pandora/Makefile b/platform/pandora/Makefile index fee9df86..8a534104 100644 --- a/platform/pandora/Makefile +++ b/platform/pandora/Makefile @@ -30,6 +30,7 @@ rel: ../../picodrive PicoDrive.sh picorestore \ rm -rf out mkdir out cp -r $^ out/ + mv out/README.md out/README $(PND_MAKE) -p PicoDrive_$(VER).pnd -d out -x out/PicoDrive.pxml -i out/PicoDrive.png -c FORCE: diff --git a/platform/pandora/make_pxml.sh b/platform/pandora/make_pxml.sh index 35d537a4..1b045459 100755 --- a/platform/pandora/make_pxml.sh +++ b/platform/pandora/make_pxml.sh @@ -7,7 +7,7 @@ test -f $verfile major=`head -n 1 $verfile | sed 's/[^0-9]*\([0-9]*\)\.\([0-9]*\).*/\1/g'` minor=`head -n 1 $verfile | sed 's/[^0-9]*\([0-9]*\)\.\([0-9]*\).*/\2/g'` # lame, I know.. -build=`git describe HEAD | grep -- - | sed -e 's/.*\-\(.*\)\-.*/\1/'` +build=`git describe --tags HEAD | grep -- - | sed -e 's/.*\-\(.*\)\-.*/\1/'` test -n "$build" && build_post="-$build" test -n "$build" || build=0