From e1e51f99949f2a2967210342fcea6e8ae8495e0b Mon Sep 17 00:00:00 2001 From: Robert Bieber Date: Sun, 25 Jul 2010 21:16:37 +0000 Subject: Theme Editor: Added recent docs/projects menus. Modified buildtargetdb.php to add a do-not-modify warning to the top of its output, and generated a new targetdb file with the warning in place git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27564 a1c6a512-1295-4272-9138-f99709370657 --- utils/themeeditor/buildtargetdb.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'utils/themeeditor/buildtargetdb.php') diff --git a/utils/themeeditor/buildtargetdb.php b/utils/themeeditor/buildtargetdb.php index 694b1668b6..26b6f119c2 100755 --- a/utils/themeeditor/buildtargetdb.php +++ b/utils/themeeditor/buildtargetdb.php @@ -21,6 +21,18 @@ * ****************************************************************************/ +// Printing the do-not-modify warning +echo "# ----------------------------------------------------------- #\n"; +echo "# ----------------------------------------------------------- #\n"; +echo "# --- This file automatically generated, do not modify! --- #\n"; +echo "# --- To add a target to the targetdb, add it to the --- #\n"; +echo "# --- \$targets array in buildtargetdb.php and run that --- #\n"; +echo "# --- script, ensuring that your current directory is --- #\n"; +echo "# --- utils/themeeditor, and pipe the output into --- #\n"; +echo "# --- utils/themeeditor/resources/targetdb --- #\n"; +echo "# ----------------------------------------------------------- #\n"; +echo "# ----------------------------------------------------------- #\n\n"; + // This is the array of targets, with the target id as the key and the // plaintext name of the target as the value $targets = array( 'archosfmrecorder' => 'Archos FM Recorder', -- cgit v1.2.3