浏览代码

Generate README from doc/index.html

Richard Laager 15 年之前
父节点
当前提交
ad919b9853
共有 3 个文件被更改,包括 25 次插入5 次删除
  1. 1 0
      .gitignore
  2. 4 1
      Makefile.am
  3. 20 4
      doc/index.html

+ 1 - 0
.gitignore

@@ -9,6 +9,7 @@
 .deps
 Makefile
 Makefile.in
+README
 aclocal.m4
 autom4te.cache
 config.cache

+ 4 - 1
Makefile.am

@@ -2,8 +2,11 @@
 # have all needed files, that a GNU package needs
 AUTOMAKE_OPTIONS = foreign 1.4
 
+README: doc/index.html
+	(echo This file is generated from doc/index.html, which is easier to read if you have ; echo a web browser available. ; echo ; w3m doc/index.html) > README
+
 SUBDIRS = src doc examples mibs
-EXTRA_DIST = build_setup_template.nsi
+EXTRA_DIST = build_setup_template.nsi README
 if CYGWIN_BUILD
 if CYGWIN_BUILD_SETUP_EXE
 bin_SCRIPTS=docsis_setup.exe

+ 20 - 4
doc/index.html

@@ -7,13 +7,29 @@
 </head>
 <body>
 <h1>General Information</h1>
-<p>This software is © 1999,2000,2001,2002 Cornel Ciocirlan and ©
-2002,2003 Evvolve Media SRL</p>
 <p>General questions about this software can be sent to <a href=
-"mailto:docsis-users@sourceforge.net">docsis-users@sourceforge.net.</a>.</p>
+"mailto:docsis-users@sourceforge.net">docsis-users@sourceforge.net</a>.</p>
 <p>Visit <a href=
 "http://docsis.sourceforge.net">http://docsis.sourceforge.net</a> for
 the latest news on this program.</p>
+<h2>Legal</h2>
+<p>Copyright (c) 1999,2000,2001,2002 Cornel Ciocirlan<br />
+Copyright (c) 2002,2003 Evvolve Media SRL</p>
+<p>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.</p>
+<p>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.</p>
+<p>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 Street, Fifth Floor, Boston, MA 02110-1301 USA.</p>
+<p>DOCSIS is a registered trademark of <a href=
+"http://www.cablelabs.com">CableLabs</a>.</p>
+<p>Portions of this program are derived from the RSA Data Security,
+Inc. MD5 Message-Digest Algorithm.</p>
 <h1>Description</h1>
 <p>This program encodes text configuration files which contain
 Configuration File Settings into binary configuration files, as
@@ -29,7 +45,7 @@ specified by the DOCSIS RFI 1.1 Specification, Appendix C.</p>
 </ul>
 <p>See DOCSIS 2.0 Radio Frequency Interface Specification, Appendix C
 for a description of these settings.</p>
-<h1>DOCSIS 1.0 considerations</h1>
+<h2>Limitations</h2>
 <p>More than one (up to 16) ClassOfService statements can appear in the
 configuration file. Only one BaselinePrivacy (BPI) statement can
 appear. The program does not check for the number of ClassOfService