mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-06 15:18:05 -04:00
release 1.80beta2
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@880 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
b1d44ac35b
commit
ff89a9c68b
4 changed files with 43 additions and 21 deletions
|
@ -93,12 +93,12 @@ tidy:
|
|||
readme.txt: ../../tools/textfilter ../base_readme.txt
|
||||
../../tools/textfilter ../base_readme.txt $@ PANDORA
|
||||
|
||||
PicoDrive.pxml: PicoDrive.pxml.template
|
||||
./make_pxml.sh PicoDrive.pxml.template PicoDrive.pxml
|
||||
|
||||
# ----------- release -----------
|
||||
ifneq ($(findstring rel,$(MAKECMDGOALS)),)
|
||||
ifeq ($(VER),)
|
||||
$(error need VER)
|
||||
endif
|
||||
endif
|
||||
|
||||
VER = $(shell head -n 1 version.h | sed 's/.*"\(.*\)\.\(.*\)".*/\1\2/g')
|
||||
|
||||
rel: PicoDrive PicoDrive.run picorestore ../../pico/carthw.cfg readme.txt \
|
||||
skin PicoDrive.png PicoDrive_p.png PicoDrive.pxml
|
||||
|
|
10
pandora/make_pxml.sh
Executable file
10
pandora/make_pxml.sh
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
sed -i
|
||||
|
||||
major=`head -n 1 version.h | sed 's/.*"\([0-9]*\)\.\([0-9]*\).*/\1/g'`
|
||||
minor=`head -n 1 version.h | sed 's/.*"\([0-9]*\)\.\([0-9]*\).*/\2/g'`
|
||||
revision=`head -n 1 revision.h | sed 's/.*"\([0-9]*\)".*/\1/g'`
|
||||
|
||||
sed 's/@major@/'$major'/' "$1" > "$2"
|
||||
sed -i 's/@minor@/'$minor'/' "$2"
|
||||
sed -i 's/@revision@/'$revision'/' "$2"
|
|
@ -1,2 +1,2 @@
|
|||
#define VERSION "1.80beta1"
|
||||
#define VERSION "1.80beta2"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue