summaryrefslogtreecommitdiff
path: root/utils/themeeditor/buildtargetdb.php
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-07-25 21:16:37 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-07-25 21:16:37 +0000
commite1e51f99949f2a2967210342fcea6e8ae8495e0b (patch)
treebb2d62c6bea3e379e301d9b6b3592e1156274a54 /utils/themeeditor/buildtargetdb.php
parente024198305623674d372aff71463e904905485b0 (diff)
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
Diffstat (limited to 'utils/themeeditor/buildtargetdb.php')
-rwxr-xr-xutils/themeeditor/buildtargetdb.php12
1 files changed, 12 insertions, 0 deletions
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',