1 # release packaging makefile
3 VER := $(shell head -n 1 ../common/version.h | \
4 sed 's/.*"\(.*\)\.\(.*\)".*/\1\2/g')
5 BUILD := $(shell git describe HEAD | grep -- - | \
6 sed -e 's/.*\-\(.*\)\-.*/\1/')
11 PND_MAKE ?= $(HOME)/dev/pnd/src/pandora-libraries/testdata/scripts/pnd_make.sh
15 ../../tools/textfilter: ../../tools/textfilter.c
18 readme.txt: ../../tools/textfilter ../base_readme.txt ../../ChangeLog
19 ../../tools/textfilter ../base_readme.txt $@ PANDORA
21 /tmp/PicoDrive.pxml: PicoDrive.pxml.template FORCE
24 rel: ../../PicoDrive PicoDrive.sh picorestore \
25 PicoDrive.png PicoDrive_p.png \
26 ../../pico/carthw.cfg skin \
27 readme.txt /tmp/PicoDrive.pxml
31 $(PND_MAKE) -p PicoDrive_$(VER).pnd -d out -x out/PicoDrive.pxml -i out/PicoDrive.png -c