From f69c703c53c94aefdb7750331f66b5c94e43f8c5 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 14 Jun 2004 15:05:58 +0000 Subject: 'make install' for a simulator now installs a full rockbox setup in the local 'archos' directory. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4744 a1c6a512-1295-4272-9138-f99709370657 --- tools/configure | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/tools/configure b/tools/configure index a6e92bea20..04212da2a1 100755 --- a/tools/configure +++ b/tools/configure @@ -52,6 +52,7 @@ sed > Makefile \ -e "s,@KEYPAD@,${keypad},g" \ -e "s,@PWD@,${pwd},g" \ -e "s,@LANGUAGE@,${language},g" \ + -e "s,@TARGET@,${target},g" \ -e "s,@SIMVER@,${simver},g" \ < Makefile \ ARCHOS=@ARCHOS@ ROOTDIR=@ROOTDIR@ SIMDIR=\$(ROOTDIR)/uisimulator/@SIMVER@ +TOOLSDIR=\$(ROOTDIR)/tools DEBUG=@DEBUG@ DISPLAY=@DISPLAY@ KEYPAD=@KEYPAD@ THISDIR="@PWD@" SIMVER=@SIMVER@ +TARGET=@TARGET@ LANGUAGE=@LANGUAGE@ VERSION=\$(shell date +%y%m%d-%H%M) @@ -81,6 +84,12 @@ tags: @rm -f TAGS make -C \$(SIMDIR) DISPLAY=\$(DISPLAY) KEYPAD=\$(KEYPAD) OBJDIR=\$(THISDIR) tags +zip: + \$(TOOLSDIR)/buildzip.pl sim\$(TARGET) + +install: + @echo "installing a full setup in your archos dir" + @(make zip && cd archos && unzip -oq ../rockbox.zip) EOF echo "Created Makefile" @@ -171,14 +180,13 @@ if [ "$target" = "update" ]; then language=`grep "^LANGUAGE=" Makefile | cut -d= -f2-` memory=`grep "^MEMORYSIZE=" Makefile | cut -d= -f2-` rootdir=`grep "^ROOTDIR=" Makefile | cut -d= -f2-` + target=`grep "^TARGET=" Makefile | cut -d= -f2-` if [ "$debug" = "SIMULATOR=1" ]; then simulator="yes" display=`grep "^DISPLAY=" Makefile | cut -d= -f2-` keypad=`grep "^KEYPAD=" Makefile | cut -d= -f2-` simver=`grep "^SIMVER=" Makefile | cut -d= -f2-` - else - target=`grep "^TARGET=" Makefile | cut -d= -f2-` fi fi fi -- cgit v1.2.3