summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeoff Levand <geoffrey.levand@am.sony.com>2008-01-05 22:59:55 -0800
committerGeoff Levand <geoffrey.levand@am.sony.com>2008-01-05 22:59:55 -0800
commit122c6369dd79d886d62991de6bb969dd40fc340f (patch)
tree5afdce9c4b31a98b960d4142d79ff398a22e4e9c
parentc38211bc68f4fcda3167b8187e321284246a5fc2 (diff)
downloadps3-utils-122c6369dd79d886d62991de6bb969dd40fc340f.tar.gz
ps3-boot-game-os: Use package info in help text.
-rw-r--r--Makefile.am3
-rw-r--r--ps3-boot-game-os.in10
2 files changed, 11 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index d25e897..4ea181b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -75,6 +75,9 @@ ps3_video_mode_LDFLAGS = -Llib -Wl,--rpath -Wl,$(libdir)
ps3_video_mode_LDADD = -lps3-utils
edit = sed \
+ -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
+ -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
+ -e 's,PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
-e 's,@libexecdir\@,$(libexecdir),g' \
-e 's,@datadir\@,$(pkgdatadir),g' \
-e 's,@prefix\@,$(prefix),g'
diff --git a/ps3-boot-game-os.in b/ps3-boot-game-os.in
index d64905e..4e0378a 100644
--- a/ps3-boot-game-os.in
+++ b/ps3-boot-game-os.in
@@ -20,8 +20,14 @@
#
if [ "x${1}" != "x" ]; then
- @prefix@/sbin/ps3-flash-util -h
- exit
+ echo "ps3-boot-game-os (@PACKAGE_NAME@) @PACKAGE_VERSION@"
+ echo ""
+ echo "DESCRIPTION"
+ echo " Set the boot flag and reboot to game OS"
+ echo ""
+ echo "Send bug reports to @PACKAGE_BUGREPORT@"
+ echo ""
+ exit 0
fi
if ! @prefix@/sbin/ps3-flash-util -g ; then