+PND_MAKE ?= $(HOME)/dev/pnd/src/pandora-libraries/testdata/scripts/pnd_make.sh
+VER ?= $(shell git describe master)
+
+rel: fceu drivers/pandora/fceu.sh drivers/pandora/readme.txt drivers/pandora/skin \
+ drivers/pandora/fceu.png drivers/pandora/fceu.pxml.templ COPYING
+ rm -rf out
+ mkdir out
+ cp -r $^ out/
+ sed -e 's/%PR%/$(VER)/g' out/fceu.pxml.templ > out/fceu.pxml
+ rm out/fceu.pxml.templ
+ $(PND_MAKE) -p gpfce_$(VER).pnd -d out -x out/fceu.pxml -i drivers/pandora/fceu.png -c
+