summaryrefslogtreecommitdiff
path: root/navit/script
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-07-03 21:24:15 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-07-03 21:24:15 +0000
commit0ebc78613d5d7f8dd65eb172688483a77a0fa9e4 (patch)
treeafcc59c65b3189a84be2b4ce9c8fe1878a56ce36 /navit/script
parente89733f4febbd4d2ebee949114684b866acbf4b7 (diff)
downloadnavit-0ebc78613d5d7f8dd65eb172688483a77a0fa9e4.tar.gz
Add:core:Added wifi icon from latouche
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1194 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/script')
-rwxr-xr-xnavit/script/wiki2def27
1 files changed, 25 insertions, 2 deletions
diff --git a/navit/script/wiki2def b/navit/script/wiki2def
index ab8349358..bbbbb5ba2 100755
--- a/navit/script/wiki2def
+++ b/navit/script/wiki2def
@@ -2,8 +2,31 @@
rm -f item_def.h.wiki
rm -f osmmap_def.h.wiki
IFS="|"
-echo "/* This file is generated from http://wiki.navit-project.org/index.php/Item_def.h, do not edit it, edit the wiki page instead */" >item_def.h.wiki
-echo "/* This file is generated from http://wiki.navit-project.org/index.php/Item_def.h, do not edit it, edit the wiki page instead */" >osmmap_def.h.wiki
+for file in item_def.h.wiki osmmap_def.h.wiki
+do
+ cat <<\EOT >$file
+/**
+ * Navit, a modular navigation system.
+ * Copyright (C) 2005-2008 Navit Team
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public License
+ * version 2 as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this program; if not, write to the
+ * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ */
+
+/* This file is generated from http://wiki.navit-project.org/index.php/Item_def.h, do not edit it, edit the wiki page instead */
+EOT
+done
type="n"
wget -O - "http://wiki.navit-project.org/index.php/Item_def.h?action=edit" |
awk '/<textarea/,/<\/textarea/ { print $0 }' |