summaryrefslogtreecommitdiff
path: root/util/optionlist/Makefile
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-02-09 15:15:29 +0000
committerStefan Reinauer <stepan@openbios.org>2010-02-09 15:15:29 +0000
commitf64b42ed7a0ec95e275b78e6a6c453aa523d9ee0 (patch)
treedec040c8957d3d348ffbb7be63bb31a4b17f9dd9 /util/optionlist/Makefile
parent5543c66cca1907895576096b28effb2866ed3e2c (diff)
downloadcoreboot-f64b42ed7a0ec95e275b78e6a6c453aa523d9ee0.tar.xz
I took Rob Landley's nice "menuconfig2html.py" script from
http://landley.net/hg/kdocs and modified it to produce MediaWiki output for coreboot's Option List at http://coreboot.org/Coreboot_Options. The attached patch exchanges our old ("newconfig") optionlist script with the new one. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Patrick Georgi <patrick.georgi@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5101 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/optionlist/Makefile')
-rw-r--r--util/optionlist/Makefile20
1 files changed, 7 insertions, 13 deletions
diff --git a/util/optionlist/Makefile b/util/optionlist/Makefile
index f61409476b..3fb69232ec 100644
--- a/util/optionlist/Makefile
+++ b/util/optionlist/Makefile
@@ -1,10 +1,9 @@
#
-# Copyright (C) 2005 Stefan Reinauer <stepan@coresystems.de>
+# Copyright (C) 2010 coresystems GmbH
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
+# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -16,17 +15,12 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
-all: html wiki
-html:
- ./mkOptionList.py
- @#saxon Options.xml Options.xsl > Options.html
- xsltproc Options.xsl Options.xml > Options.html
-
-wiki:
- ./mkOptionList.py
- xsltproc Options-wiki.xsl Options.xml > Options.wiki
+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)
+
+all:
+ cd ../..; util/optionlist/kconfig2wiki src/Kconfig $(SVNVERSION) > util/optionlist/Options.wiki
clean:
- rm -rf Options.xml Options.html Options.wiki
+ rm -rf Options.wiki