Changeset 5101
- Timestamp:
- Feb 9, 2010 4:15:29 PM (3 years ago)
- Location:
- trunk/util/optionlist
- Files:
-
- 1 added
- 3 deleted
- 2 edited
-
Makefile (modified) (2 diffs)
-
Options-wiki.xsl (deleted)
-
Options.xsl (deleted)
-
README (modified) (1 diff)
-
kconfig2wiki (added)
-
mkOptionList.py (deleted)
Legend:
- Unmodified
- Added
- Removed
-
trunk/util/optionlist/Makefile
r2463 r5101 1 1 # 2 # Copyright (C) 20 05 Stefan Reinauer <stepan@coresystems.de>2 # Copyright (C) 2010 coresystems GmbH 3 3 # 4 4 # This program is free software; you can redistribute it and/or modify 5 5 # it under the terms of the GNU General Public License as published by 6 # the Free Software Foundation; either version 2 of the License, or 7 # (at your option) any later version. 6 # the Free Software Foundation; version 2 of the License. 8 7 # 9 8 # This program is distributed in the hope that it will be useful, … … 17 16 # 18 17 19 all: html wiki20 18 21 html: 22 ./mkOptionList.py 23 @#saxon Options.xml Options.xsl > Options.html 24 xsltproc Options.xsl Options.xml > Options.html 25 26 wiki: 27 ./mkOptionList.py 28 xsltproc Options-wiki.xsl Options.xml > Options.wiki 19 SVNVERSION := $(shell LC_ALL=C svnversion -cn ../.. | sed -e "s/.*://" -e "s/\([0-9]*\).*/\1/" | grep "[0-9]" || LC_ALL=C svn info . | grep ^Revision | sed "s/.*[[:blank:]]\+\([0-9]*\)[^0-9]*/\1/" | grep "[0-9]" || echo unknown) 20 21 all: 22 cd ../..; util/optionlist/kconfig2wiki src/Kconfig $(SVNVERSION) > util/optionlist/Options.wiki 29 23 30 24 clean: 31 rm -rf Options. xml Options.html Options.wiki25 rm -rf Options.wiki 32 26 -
trunk/util/optionlist/README
r3053 r5101 1 I would like to contribute the following to the coreboot wiki in case 2 it's useable: 3 4 1. I have written a rather small Python script to convert the Options.lb 5 into an XML file which is much more useable for the web in most cases. 6 7 2. I have written a XSLT to convert the XML file to (X)HTML to be able 8 to present it as a table. 9 10 Florob (Florian Zeitz <florian-zeitz@lycos.de>) 11 12 13 ChangeLog 14 --------- 15 16 * 2005-03-19 stepan 17 - fix xml stylesheet to work with xsltproc and saxon 18 - add Makefile 19 - make script a bit more verbose 20 21 * 2005-03-15 florob 22 - Initial version 23 24 25 License 26 ------- 27 28 Copyright (C) 2005 Florian Zeitz <florian-zeitz@lycos.de> 29 Copyright (C) 2005-2006 Stefan Reinauer <stepan@coresystems.de> 30 Copyright (C) 2006 Uwe Hermann <uwe@hermann-uwe.de> 31 32 This program is free software; you can redistribute it and/or modify 33 it under the terms of the GNU General Public License as published by 34 the Free Software Foundation; either version 2 of the License, or 35 (at your option) any later version. 36 37 This program is distributed in the hope that it will be useful, 38 but WITHOUT ANY WARRANTY; without even the implied warranty of 39 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 40 GNU General Public License for more details. 41 42 You should have received a copy of the GNU General Public License 43 along with this program; if not, write to the Free Software 44 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 45 46 1 This script creates the page http://www.coreboot.org/Coreboot_Options
Note: See TracChangeset
for help on using the changeset viewer.
