summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/optionlist/Makefile21
-rw-r--r--util/optionlist/Options-wiki.xsl19
-rw-r--r--util/optionlist/Options.xsl19
-rw-r--r--util/optionlist/README26
-rwxr-xr-xutil/optionlist/mkOptionList.py18
5 files changed, 100 insertions, 3 deletions
diff --git a/util/optionlist/Makefile b/util/optionlist/Makefile
index ffd1010ac1..f61409476b 100644
--- a/util/optionlist/Makefile
+++ b/util/optionlist/Makefile
@@ -1,8 +1,26 @@
+#
+# Copyright (C) 2005 Stefan Reinauer <stepan@coresystems.de>
+#
+# 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.
+#
+# 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# 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
+ @#saxon Options.xml Options.xsl > Options.html
xsltproc Options.xsl Options.xml > Options.html
wiki:
@@ -11,3 +29,4 @@ wiki:
clean:
rm -rf Options.xml Options.html Options.wiki
+
diff --git a/util/optionlist/Options-wiki.xsl b/util/optionlist/Options-wiki.xsl
index 0fe60aa6c3..af16b8a67d 100644
--- a/util/optionlist/Options-wiki.xsl
+++ b/util/optionlist/Options-wiki.xsl
@@ -1,4 +1,23 @@
<?xml version="1.0"?>
+<!--
+ Copyright (C) 2006 Stefan Reinauer <stepan@coresystems.de>
+ Copyright (C) 2006 Uwe Hermann <uwe@hermann-uwe.de>
+
+ 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.
+
+ 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 General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+-->
+
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text"
diff --git a/util/optionlist/Options.xsl b/util/optionlist/Options.xsl
index 3502a24e19..d771edb033 100644
--- a/util/optionlist/Options.xsl
+++ b/util/optionlist/Options.xsl
@@ -1,4 +1,23 @@
<?xml version="1.0"?>
+<!--
+ Copyright (C) 2005 Florian Zeitz <florian-zeitz@lycos.de>
+ Copyright (C) 2005 Stefan Reinauer <stepan@coresystems.de>
+
+ 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.
+
+ 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 General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+-->
+
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!--<xsl:choose>
diff --git a/util/optionlist/README b/util/optionlist/README
index 655af616e4..8da0f576de 100644
--- a/util/optionlist/README
+++ b/util/optionlist/README
@@ -1,14 +1,15 @@
I would like to contribute the following to the LinuxBIOS wiki in case
it's useable:
-1. I have written a rather small python script to convert the Options.lb
- to a XML file which is much more useable for the web in most cases.
+1. I have written a rather small Python script to convert the Options.lb
+ into an XML file which is much more useable for the web in most cases.
2. I have written a XSLT to convert the XML file to (X)HTML to be able
to present it as a table.
Florob (Florian Zeitz <florian-zeitz@lycos.de>)
+
ChangeLog
---------
@@ -21,4 +22,25 @@ ChangeLog
- Initial version
+License
+-------
+
+Copyright (C) 2005 Florian Zeitz <florian-zeitz@lycos.de>
+Copyright (C) 2005-2006 Stefan Reinauer <stepan@coresystems.de>
+Copyright (C) 2006 Uwe Hermann <uwe@hermann-uwe.de>
+
+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.
+
+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 General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
diff --git a/util/optionlist/mkOptionList.py b/util/optionlist/mkOptionList.py
index c91f11aa22..d60c130a71 100755
--- a/util/optionlist/mkOptionList.py
+++ b/util/optionlist/mkOptionList.py
@@ -1,4 +1,22 @@
#!/usr/bin/python
+#
+# Copyright (C) 2005 Florian Zeitz <florian-zeitz@lycos.de>
+# Copyright (C) 2005 Stefan Reinauer <stepan@coresystems.de>
+#
+# 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.
+#
+# 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+#
def xmlString(string):
for i in range(len(string)-1):